Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Nattha committed Oct 30, 2023
2 parents ed2c44f + c24b698 commit 8184c93
Show file tree
Hide file tree
Showing 156 changed files with 5,325 additions and 538 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## 4.30.0.1 (2023-10-30)

### What's new
- The fork has been updated to [v4.30.0](https://github.com/statamic/cms/releases/tag/v4.30.0).


## 4.25.0.1 (2023-10-10)

### What's new
Expand Down
13 changes: 13 additions & 0 deletions config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@

'enabled' => true,

/*
|--------------------------------------------------------------------------
| Enable Route Bindings
|--------------------------------------------------------------------------
|
| Whether route bindings for Statamic repositories (entry, taxonomy,
| collections, etc) are enabled for front end routes. This may be
| useful if you want to make your own custom routes with them.
|
*/

'bindings' => false,

/*
|--------------------------------------------------------------------------
| Action Route Prefix
Expand Down
125 changes: 63 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions resources/css/components/fieldtypes/section.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
&.form-group {
position: relative;
&:first-child {
@apply rounded-t-md border-t-0;
@apply mt-0 rounded-t-md border-t-0;
}

&:last-child {
@apply rounded-b-md mt-0;
@apply rounded-b-md;
}

.field-inner > label {
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/GlobalSiteSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<template #selected-option="option">
<div class="flex items-center px-2 text-sm text-gray hover:text-gray-800 anti">
<svg-icon name="light/sites" class="mr-2 h-4 w-4" />
<div class="whitespace-nowrap">{{ option.name }}</div>
<div class="whitespace-nowrap">{{ __(option.name) }}</div>
</div>
</template>
<template #option="{ name, handle }">
<div :class="{ 'text-gray-500': handle === active }">{{ name }}</div>
<div :class="{ 'text-gray-500': handle === active }">{{ __(name) }}</div>
</template>
</v-select>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/HasInputOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
return _.map(options, (value, key) => {
return {
'value': Array.isArray(options) ? value : key,
'label': value || key
'label': __(value) || key
};
});
}
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/fieldtypes/IconFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:name="name"
:disabled="config.disabled || isReadOnly"
:options="options"
:placeholder="config.placeholder || 'Search ...'"
:placeholder="__(config.placeholder || 'Search ...')"
:searchable="true"
:multiple="false"
:close-on-select="true"
Expand All @@ -22,14 +22,14 @@
<div class="flex items-center">
<svg-icon v-if="!option.html" :name="`${meta.set}/${option.label}`" class="w-5 h-5" />
<div v-if="option.html" v-html="option.html" class="w-5 h-5" />
<span class="text-xs ml-4 text-gray-800 truncate">{{ option.label }}</span>
<span class="text-xs ml-4 text-gray-800 truncate">{{ __(option.label) }}</span>
</div>
</template>
<template slot="selected-option" slot-scope="option">
<div class="flex items-center">
<svg-icon v-if="!option.html" :name="`${meta.set}/${option.label}`" class="w-5 h-5 flex items-center" />
<div v-if="option.html" v-html="option.html" class="w-5 h-5" />
<span class="text-xs ml-4 text-gray-800 truncate">{{ option.label }}</span>
<span class="text-xs ml-4 text-gray-800 truncate">{{ __(option.label) }}</span>
</div>
</template>
</v-select>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/IntegerFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
:is-read-only="isReadOnly"
:id="fieldId"
:min="config.min"
:prepend="config.prepend"
:append="config.append"
:prepend="__(config.prepend)"
:append="__(config.append)"
@input="updateDebounced"
@focus="$emit('focus')"
@blur="$emit('blur')"
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/RangeFieldtype.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="range-fieldtype-wrapper bg-gray-200 rounded py-2 px-4 border">
<div class="flex items-center">
<div v-if="config.prepend" v-text="config.prepend" class="mr-2" />
<div v-if="config.prepend" v-text="__(config.prepend)" class="mr-2" />
<input
type="range"
v-model="val"
Expand All @@ -16,7 +16,7 @@
class="flex-1 min-w-0"
/>
<div class="rounded border px-2 py-1 mx-2 bg-gray-100">{{ val }}</div>
<div v-if="config.append" v-text="config.append" />
<div v-if="config.append" v-text="__(config.append)" />
</div>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/RevealerFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<template v-if="isToggleMode">
<div class="toggle-fieldtype-wrapper">
<toggle-input :value="isRevealed" @input="update" :read-only="isReadOnly" />
<label v-if="config.input_label" class="ml-2 font-normal">{{ config.input_label }}</label>
<label v-if="config.input_label" class="ml-2 font-normal">{{ __(config.input_label) }}</label>
</div>
</template>

Expand All @@ -13,7 +13,7 @@
@click="buttonReveal"
class="btn"
:disabled="isReadOnly"
:v-tooltip="config.instructions"
:v-tooltip="__(config.instructions)"
v-text="config.input_label || __('Show Fields')" />
</template>
</div>
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/fieldtypes/SelectFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:clearable="config.clearable"
:disabled="config.disabled || isReadOnly || (config.multiple && limitReached)"
:options="options"
:placeholder="config.placeholder"
:placeholder="__(config.placeholder)"
:searchable="config.searchable || config.taggable"
:taggable="config.taggable"
:push-tags="config.push_tags"
Expand All @@ -26,7 +26,7 @@
<template #selected-option-container v-if="config.multiple"><i class="hidden"></i></template>
<template #search="{ events, attributes }" v-if="config.multiple">
<input
:placeholder="config.placeholder"
:placeholder="__(config.placeholder)"
class="vs__search"
type="search"
v-on="events"
Expand Down Expand Up @@ -56,7 +56,7 @@
<div class="vs__selected-options-outside flex flex-wrap">
<span v-for="option in selectedOptions" :key="option.value" class="vs__selected mt-2 sortable-item">
<div v-if="config.label_html" v-html="option.label"></div>
<template v-else>{{ option.label }}</template>
<template v-else>{{ __(option.label) }}</template>
<button v-if="!readOnly" @click="deselect(option)" type="button" :aria-label="__('Deselect option')" class="vs__deselect">
<span>×</span>
</button>
Expand Down
Loading

0 comments on commit 8184c93

Please sign in to comment.