@dinofront/design_system 1.12.0 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,7 +66,7 @@ export interface SelectV2BaseProps extends BaseProps, Partial<SelectV2ReactSelec
66
66
  * `placeholder`/`emptyText`/`formatCreateLabel` props still take
67
67
  * precedence over the translated defaults. Default `'en-US'`. */
68
68
  locale?: TranslationLocale;
69
- /** Enables a "save selection" checkbox pinned above the option list. When
69
+ /** Enables a "save selection" checkbox pinned below the option list. When
70
70
  * checked, the current selection is written to `localStorage` under this
71
71
  * key and kept in sync on every subsequent change, until unchecked —
72
72
  * which clears it. On mount, if the select is
package/dist/index.js CHANGED
@@ -2702,7 +2702,7 @@ var Mr = {
2702
2702
  selectAllLabel: (e) => `Select all (${e})`,
2703
2703
  clearAllLabel: (e) => `Clear all (${e})`,
2704
2704
  createLabel: (e) => `Create "${e}"`,
2705
- saveSelectionLabel: "Save"
2705
+ saveSelectionLabel: "Save template"
2706
2706
  },
2707
2707
  "ru-RU": {
2708
2708
  placeholder: "Выберите…",
@@ -2711,7 +2711,7 @@ var Mr = {
2711
2711
  selectAllLabel: (e) => `Выбрать все (${e})`,
2712
2712
  clearAllLabel: (e) => `Очистить все (${e})`,
2713
2713
  createLabel: (e) => `Создать «${e}»`,
2714
- saveSelectionLabel: "Сохранить"
2714
+ saveSelectionLabel: "Сохранить шаблон"
2715
2715
  },
2716
2716
  "hy-AM": {
2717
2717
  placeholder: "Ընտրեք…",
@@ -2720,7 +2720,7 @@ var Mr = {
2720
2720
  selectAllLabel: (e) => `Ընտրել բոլորը (${e})`,
2721
2721
  clearAllLabel: (e) => `Մաքրել բոլորը (${e})`,
2722
2722
  createLabel: (e) => `Ստեղծել «${e}»`,
2723
- saveSelectionLabel: "Պահպանել"
2723
+ saveSelectionLabel: "Պահպանել ձևանմուշը"
2724
2724
  }
2725
2725
  }, Nr = {
2726
2726
  lg: "min-h-12 text-p-md",
@@ -2859,8 +2859,9 @@ function $r(e) {
2859
2859
  readOnly: !0
2860
2860
  })
2861
2861
  }),
2862
+ e.children,
2862
2863
  r && /* @__PURE__ */ W("div", {
2863
- className: "border-b border-border-default px-3 py-2",
2864
+ className: "border-t border-border-default px-3 py-2",
2864
2865
  onMouseDown: (e) => e.preventDefault(),
2865
2866
  onClick: (e) => {
2866
2867
  e.preventDefault(), i?.();
@@ -2871,8 +2872,7 @@ function $r(e) {
2871
2872
  label: r.label,
2872
2873
  readOnly: !0
2873
2874
  })
2874
- }),
2875
- e.children
2875
+ })
2876
2876
  ]
2877
2877
  });
2878
2878
  }
@@ -4472,7 +4472,7 @@ var ca = {
4472
4472
  ...o
4473
4473
  }),
4474
4474
  /* @__PURE__ */ G("span", {
4475
- className: Y("inline-flex h-8 w-16 items-center justify-between rounded-full px-2 transition-colors", "bg-gray-200 peer-checked:bg-gray-700 dark:bg-gray-700 dark:peer-checked:bg-gray-900", "peer-focus-visible:ring-2 peer-focus-visible:ring-brand-300 peer-focus-visible:ring-offset-2"),
4475
+ className: Y("inline-flex h-8 w-16 items-center justify-between rounded-full border px-2 transition-colors", "peer-checked:bg-gray-700 dark:bg-gray-700 dark:peer-checked:bg-gray-900", "peer-focus-visible:ring-2 peer-focus-visible:ring-brand-300 peer-focus-visible:ring-offset-2"),
4476
4476
  children: [/* @__PURE__ */ W(de, {
4477
4477
  className: "size-4 text-yellow-500 z-1",
4478
4478
  "aria-hidden": !0
@@ -4483,7 +4483,7 @@ var ca = {
4483
4483
  }),
4484
4484
  /* @__PURE__ */ W("span", {
4485
4485
  "aria-hidden": !0,
4486
- className: "absolute left-1 top-1 size-6 rounded-full bg-white shadow-z1 transition-transform peer-checked:translate-x-8 peer-checked:bg-gray-600"
4486
+ className: "absolute left-1 top-1 size-6 rounded-full bg-white shadow-[0_1px_3px_#00000040] transition-transform peer-checked:translate-x-8 peer-checked:bg-gray-600"
4487
4487
  })
4488
4488
  ]
4489
4489
  }), t && /* @__PURE__ */ W("span", {