@solibo/solibo-ui 1.0.7 → 1.0.9

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.
Files changed (48) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/index15.css +1 -1
  3. package/dist/assets/index19.css +1 -1
  4. package/dist/assets/index32.css +1 -1
  5. package/dist/assets/index38.css +1 -1
  6. package/dist/assets/index39.css +1 -1
  7. package/dist/assets/index46.css +1 -1
  8. package/dist/assets/index51.css +1 -1
  9. package/dist/assets/index8.css +1 -1
  10. package/dist/assets/index9.css +1 -1
  11. package/dist/components/card/index.cjs +1 -1
  12. package/dist/components/card/index.js +45 -45
  13. package/dist/components/dialog/index.cjs +1 -1
  14. package/dist/components/dialog/index.cjs.map +1 -1
  15. package/dist/components/dialog/index.js +39 -37
  16. package/dist/components/dialog/index.js.map +1 -1
  17. package/dist/components/dropdown/index.cjs +1 -1
  18. package/dist/components/dropdown/index.js +70 -70
  19. package/dist/components/icon/index.cjs +1 -1
  20. package/dist/components/icon/index.js +22 -22
  21. package/dist/components/iframe/index.cjs +1 -1
  22. package/dist/components/iframe/index.cjs.map +1 -1
  23. package/dist/components/iframe/index.js +46 -49
  24. package/dist/components/iframe/index.js.map +1 -1
  25. package/dist/components/message/index.cjs +1 -1
  26. package/dist/components/message/index.js +18 -18
  27. package/dist/components/popover/index.cjs +1 -1
  28. package/dist/components/popover/index.cjs.map +1 -1
  29. package/dist/components/popover/index.js +10 -10
  30. package/dist/components/popover/index.js.map +1 -1
  31. package/dist/components/search/index.cjs +1 -1
  32. package/dist/components/search/index.js +29 -29
  33. package/dist/components/select/index.cjs +1 -1
  34. package/dist/components/select/index.js +1 -1
  35. package/dist/components/sortable/index.cjs +1 -1
  36. package/dist/components/sortable/index.cjs.map +1 -1
  37. package/dist/components/sortable/index.js +141 -134
  38. package/dist/components/sortable/index.js.map +1 -1
  39. package/dist/{index-oL8GYbhj.cjs → index-BPIK2dxs.cjs} +2 -2
  40. package/dist/{index-oL8GYbhj.cjs.map → index-BPIK2dxs.cjs.map} +1 -1
  41. package/dist/{index-CMfR_USP.js → index-C_YiNpZP.js} +8 -8
  42. package/dist/{index-CMfR_USP.js.map → index-C_YiNpZP.js.map} +1 -1
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.d.ts +13 -2
  45. package/dist/index.js +37 -36
  46. package/dist/tokens.css +3 -1
  47. package/dist/tokens.json +46 -19
  48. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-oL8GYbhj.cjs","sources":["../src/components/select/sanitize-select-props.ts","../src/lib/color.ts","../src/components/select/index.tsx"],"sourcesContent":["const selectKeys = new Set([\n 'aria-activedescendant',\n 'aria-autocomplete',\n 'aria-busy',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-live',\n 'aria-owns',\n 'aria-required',\n 'aria-roledescription',\n 'autoComplete',\n 'autoFocus',\n 'className',\n 'defaultValue',\n 'dir',\n 'disabled',\n 'form',\n 'id',\n 'multiple',\n 'name',\n 'onBlur',\n 'onChange',\n 'onClick',\n 'onFocus',\n 'onInput',\n 'onInvalid',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseUp',\n 'onPointerDown',\n 'onPointerUp',\n 'required',\n 'role',\n 'size',\n 'style',\n 'tabIndex',\n 'title',\n 'value',\n]);\n\nexport function sanitizeSelectProps<T extends Record<string, unknown>>(props: T) {\n return Object.fromEntries(\n Object.entries(props).filter(\n ([key]) => key.startsWith('data-') || key.startsWith('aria-') || selectKeys.has(key)\n )\n ) as Partial<T>;\n}\n","const cssVariablePattern = /^--[\\w-]+$/;\nconst cssVariableReferencePattern = /^var\\(\\s*(--[\\w-]+)\\s*(?:,\\s*(.+))?\\)$/;\n\nconst unresolvedColorKeywords = new Set([\n 'currentcolor',\n 'inherit',\n 'initial',\n 'revert',\n 'revert-layer',\n 'unset',\n]);\n\nconst probe = typeof document !== 'undefined' ? document.createElement('span') : null;\n\nfunction normalizeColorValue(input: string): string {\n const value = input.trim();\n\n if (!value || !probe || unresolvedColorKeywords.has(value.toLowerCase())) {\n return value;\n }\n\n const mountNode = document.body ?? document.documentElement;\n\n if (!mountNode) {\n return value;\n }\n\n probe.style.color = value;\n\n if (!probe.style.color) {\n return value;\n }\n\n mountNode.appendChild(probe);\n\n const normalized = getComputedStyle(probe).color.trim();\n probe.remove();\n\n return normalized || value;\n}\n\nexport function resolveColor(input: `--${string}` | string, fallback = 'currentColor'): string {\n if (typeof document === 'undefined') {\n return fallback;\n }\n\n const styles = getComputedStyle(document.documentElement);\n const seen = new Set<string>();\n let current = input.trim();\n\n while (current) {\n const match = current.match(cssVariableReferencePattern);\n const variableName = match?.[1] ?? (cssVariablePattern.test(current) ? current : null);\n const nestedFallback = match?.[2]?.trim();\n\n if (!variableName) {\n return normalizeColorValue(current);\n }\n\n if (seen.has(variableName)) {\n current = nestedFallback ?? '';\n continue;\n }\n\n seen.add(variableName);\n\n current = styles.getPropertyValue(variableName).trim() || nestedFallback || '';\n }\n\n return normalizeColorValue(fallback);\n}\n","import cx from 'classix';\n\nimport { iconSVG } from '@/components/icon/icons.ts';\nimport { resolveColor } from '@/lib/color';\nimport { useTouched } from '@/lib/use-touched';\n\nimport { sanitizeSelectProps } from './sanitize-select-props';\nimport styles from './styles.module.css';\n\nexport type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {\n children: React.ReactNode;\n label?: string;\n placeholder?: string;\n};\n\ntype withVars = React.CSSProperties & {\n '--icon-svg'?: string;\n};\n\nexport const Select = ({ children, label, placeholder, ...props }: SelectProps) => {\n const { touched, onBlur } = useTouched(props.value === '');\n const selectProps = sanitizeSelectProps(props);\n const { style, ...restSelectProps } = selectProps;\n const withVars = {\n ...style,\n '--icon-svg': iconSVG('chevron').replace(\n 'currentColor',\n resolveColor('--colors-semantic-content-secondary')\n ),\n } satisfies withVars;\n\n const selectElement = (\n <select\n className={cx(styles.select, touched && styles.touched)}\n onBlur={onBlur}\n style={withVars}\n {...restSelectProps}\n >\n {placeholder && (\n <option\n key='placeholder'\n value={''}\n hidden\n >\n {placeholder}\n </option>\n )}\n {children}\n </select>\n );\n\n if (!label) {\n return selectElement;\n }\n\n return (\n <label>\n <span\n className={styles.label}\n data-required={props.required || undefined}\n >\n {label}\n </span>\n {selectElement}\n </label>\n );\n};\n"],"names":["selectKeys","Set","sanitizeSelectProps","props","Object","fromEntries","entries","filter","key","startsWith","has","cssVariablePattern","cssVariableReferencePattern","unresolvedColorKeywords","probe","document","createElement","normalizeColorValue","input","value","trim","toLowerCase","mountNode","body","documentElement","style","color","appendChild","normalized","getComputedStyle","remove","resolveColor","fallback","styles","seen","current","match","variableName","test","nestedFallback","add","getPropertyValue","Select","children","label","placeholder","touched","onBlur","useTouched","selectProps","restSelectProps","withVars","iconSVG","replace","selectElement","jsxs","cx","select","jsx","required","undefined"],"mappings":"gKAAMA,EAAa,IAAIC,IAAI,CACzB,wBACA,oBACA,YACA,gBACA,mBACA,eACA,gBACA,oBACA,gBACA,gBACA,cACA,eACA,oBACA,aACA,kBACA,YACA,YACA,gBACA,uBACA,eACA,YACA,YACA,eACA,MACA,WACA,OACA,KACA,WACA,OACA,SACA,WACA,UACA,UACA,UACA,YACA,YACA,UACA,cACA,YACA,gBACA,cACA,WACA,OACA,OACA,QACA,WACA,QACA,OAAO,CACR,EAEM,SAASC,EAAuDC,EAAU,CAC/E,OAAOC,OAAOC,YACZD,OAAOE,QAAQH,CAAK,EAAEI,OACpB,CAAC,CAACC,CAAG,IAAMA,EAAIC,WAAW,OAAO,GAAKD,EAAIC,WAAW,OAAO,GAAKT,EAAWU,IAAIF,CAAG,CACrF,CACF,CACF,CCzDA,MAAMG,EAAqB,aACrBC,EAA8B,yCAE9BC,EAA0B,IAAIZ,IAAI,CAC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EAAa,GAAG1C,CAAmB,IAAM,CACjF,KAAM,CAAE2C,QAAAA,EAASC,OAAAA,CAAAA,EAAWC,aAAW7C,EAAMgB,QAAU,EAAE,EACnD8B,EAAc/C,EAAoBC,CAAK,EACvC,CAAEsB,MAAAA,EAAO,GAAGyB,CAAAA,EAAoBD,EAChCE,EAAW,CACf,GAAG1B,EACH,aAAc2B,EAAAA,QAAQ,SAAS,EAAEC,QAC/B,eACAtB,EAAa,qCAAqC,CACpD,CAAA,EAGIuB,EACJC,EAAAA,KAAC,SAAA,CACC,UAAWC,EAAAA,EAAGvB,EAAOwB,OAAQX,GAAWb,EAAOa,OAAO,EACtD,OAAAC,EACA,MAAOI,EACP,GAAID,EAEHL,SAAAA,CAAAA,SACE,SAAA,CAEC,MAAO,GACP,OAAM,GAELA,YAJG,aAKN,EAEDF,CAAAA,EACH,EAGF,OAAKC,EAKHW,EAAAA,KAAC,QAAA,CAAK,iBAAA,SACJ,SAAA,CAAAG,EAAAA,IAAC,OAAA,CACC,UAAWzB,EAAOW,MAClB,gBAAezC,EAAMwD,UAAYC,OAEhChB,SAAAA,CAAAA,CACH,EACCU,CAAAA,EACH,EAZOA,CAcX"}
1
+ {"version":3,"file":"index-BPIK2dxs.cjs","sources":["../src/components/select/sanitize-select-props.ts","../src/lib/color.ts","../src/components/select/index.tsx"],"sourcesContent":["const selectKeys = new Set([\n 'aria-activedescendant',\n 'aria-autocomplete',\n 'aria-busy',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-live',\n 'aria-owns',\n 'aria-required',\n 'aria-roledescription',\n 'autoComplete',\n 'autoFocus',\n 'className',\n 'defaultValue',\n 'dir',\n 'disabled',\n 'form',\n 'id',\n 'multiple',\n 'name',\n 'onBlur',\n 'onChange',\n 'onClick',\n 'onFocus',\n 'onInput',\n 'onInvalid',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseUp',\n 'onPointerDown',\n 'onPointerUp',\n 'required',\n 'role',\n 'size',\n 'style',\n 'tabIndex',\n 'title',\n 'value',\n]);\n\nexport function sanitizeSelectProps<T extends Record<string, unknown>>(props: T) {\n return Object.fromEntries(\n Object.entries(props).filter(\n ([key]) => key.startsWith('data-') || key.startsWith('aria-') || selectKeys.has(key)\n )\n ) as Partial<T>;\n}\n","const cssVariablePattern = /^--[\\w-]+$/;\nconst cssVariableReferencePattern = /^var\\(\\s*(--[\\w-]+)\\s*(?:,\\s*(.+))?\\)$/;\n\nconst unresolvedColorKeywords = new Set([\n 'currentcolor',\n 'inherit',\n 'initial',\n 'revert',\n 'revert-layer',\n 'unset',\n]);\n\nconst probe = typeof document !== 'undefined' ? document.createElement('span') : null;\n\nfunction normalizeColorValue(input: string): string {\n const value = input.trim();\n\n if (!value || !probe || unresolvedColorKeywords.has(value.toLowerCase())) {\n return value;\n }\n\n const mountNode = document.body ?? document.documentElement;\n\n if (!mountNode) {\n return value;\n }\n\n probe.style.color = value;\n\n if (!probe.style.color) {\n return value;\n }\n\n mountNode.appendChild(probe);\n\n const normalized = getComputedStyle(probe).color.trim();\n probe.remove();\n\n return normalized || value;\n}\n\nexport function resolveColor(input: `--${string}` | string, fallback = 'currentColor'): string {\n if (typeof document === 'undefined') {\n return fallback;\n }\n\n const styles = getComputedStyle(document.documentElement);\n const seen = new Set<string>();\n let current = input.trim();\n\n while (current) {\n const match = current.match(cssVariableReferencePattern);\n const variableName = match?.[1] ?? (cssVariablePattern.test(current) ? current : null);\n const nestedFallback = match?.[2]?.trim();\n\n if (!variableName) {\n return normalizeColorValue(current);\n }\n\n if (seen.has(variableName)) {\n current = nestedFallback ?? '';\n continue;\n }\n\n seen.add(variableName);\n\n current = styles.getPropertyValue(variableName).trim() || nestedFallback || '';\n }\n\n return normalizeColorValue(fallback);\n}\n","import cx from 'classix';\n\nimport { iconSVG } from '@/components/icon/icons.ts';\nimport { resolveColor } from '@/lib/color';\nimport { useTouched } from '@/lib/use-touched';\n\nimport { sanitizeSelectProps } from './sanitize-select-props';\nimport styles from './styles.module.css';\n\nexport type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {\n children: React.ReactNode;\n label?: string;\n placeholder?: string;\n};\n\ntype withVars = React.CSSProperties & {\n '--icon-svg'?: string;\n};\n\nexport const Select = ({ children, label, placeholder, ...props }: SelectProps) => {\n const { touched, onBlur } = useTouched(props.value === '');\n const selectProps = sanitizeSelectProps(props);\n const { style, ...restSelectProps } = selectProps;\n const withVars = {\n ...style,\n '--icon-svg': iconSVG('chevron').replace(\n 'currentColor',\n resolveColor('--colors-semantic-content-secondary')\n ),\n } satisfies withVars;\n\n const selectElement = (\n <select\n className={cx(styles.select, touched && styles.touched)}\n onBlur={onBlur}\n style={withVars}\n {...restSelectProps}\n >\n {placeholder && (\n <option\n key='placeholder'\n value={''}\n hidden\n >\n {placeholder}\n </option>\n )}\n {children}\n </select>\n );\n\n if (!label) {\n return selectElement;\n }\n\n return (\n <label>\n <span\n className={styles.label}\n data-required={props.required || undefined}\n >\n {label}\n </span>\n {selectElement}\n </label>\n );\n};\n"],"names":["selectKeys","Set","sanitizeSelectProps","props","Object","fromEntries","entries","filter","key","startsWith","has","cssVariablePattern","cssVariableReferencePattern","unresolvedColorKeywords","probe","document","createElement","normalizeColorValue","input","value","trim","toLowerCase","mountNode","body","documentElement","style","color","appendChild","normalized","getComputedStyle","remove","resolveColor","fallback","styles","seen","current","match","variableName","test","nestedFallback","add","getPropertyValue","Select","children","label","placeholder","touched","onBlur","useTouched","selectProps","restSelectProps","withVars","iconSVG","replace","selectElement","jsxs","cx","select","jsx","required","undefined"],"mappings":"gKAAMA,EAAa,IAAIC,IAAI,CACzB,wBACA,oBACA,YACA,gBACA,mBACA,eACA,gBACA,oBACA,gBACA,gBACA,cACA,eACA,oBACA,aACA,kBACA,YACA,YACA,gBACA,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{
7
7
  return Object.fromEntries(Object.entries(n).filter(([e]) => e.startsWith("data-") || e.startsWith("aria-") || w.has(e)));
8
8
  }
9
- const S = /^--[\w-]+$/, _ = /^var\(\s*(--[\w-]+)\s*(?:,\s*(.+))?\)$/, P = /* @__PURE__ */ new Set(["currentcolor", "inherit", "initial", "revert", "revert-layer", "unset"]), l = typeof document < "u" ? document.createElement("span") : null;
9
+ const S = /^--[\w-]+$/, _ = /^var\(\s*(--[\w-]+)\s*(?:,\s*(.+))?\)$/, x = /* @__PURE__ */ new Set(["currentcolor", "inherit", "initial", "revert", "revert-layer", "unset"]), l = typeof document < "u" ? document.createElement("span") : null;
10
10
  function h(n) {
11
11
  const e = n.trim();
12
- if (!e || !l || P.has(e.toLowerCase()))
12
+ if (!e || !l || x.has(e.toLowerCase()))
13
13
  return e;
14
14
  const a = document.body ?? document.documentElement;
15
15
  if (!a || (l.style.color = e, !l.style.color))
@@ -18,7 +18,7 @@ function h(n) {
18
18
  const r = getComputedStyle(l).color.trim();
19
19
  return l.remove(), r || e;
20
20
  }
21
- function z(n, e = "currentColor") {
21
+ function P(n, e = "currentColor") {
22
22
  var i;
23
23
  if (typeof document > "u")
24
24
  return e;
@@ -36,10 +36,10 @@ function z(n, e = "currentColor") {
36
36
  }
37
37
  return h(e);
38
38
  }
39
- const V = "_select_u6sz6_3", g = "_touched_u6sz6_23", x = "_label_u6sz6_28", u = {
39
+ const V = "_select_1n2ax_3", g = "_touched_1n2ax_23", E = "_label_1n2ax_28", u = {
40
40
  select: V,
41
41
  touched: g,
42
- label: x
42
+ label: E
43
43
  }, K = ({
44
44
  children: n,
45
45
  label: e,
@@ -54,7 +54,7 @@ const V = "_select_u6sz6_3", g = "_touched_u6sz6_23", x = "_label_u6sz6_28", u =
54
54
  ...c
55
55
  } = o, f = {
56
56
  ...s,
57
- "--icon-svg": b("chevron").replace("currentColor", z("--colors-semantic-content-secondary"))
57
+ "--icon-svg": b("chevron").replace("currentColor", P("--colors-semantic-content-secondary"))
58
58
  }, d = /* @__PURE__ */ m("select", { className: y(u.select, t && u.touched), onBlur: i, style: f, ...c, children: [
59
59
  a && /* @__PURE__ */ p("option", { value: "", hidden: !0, children: a }, "placeholder"),
60
60
  n
@@ -66,7 +66,7 @@ const V = "_select_u6sz6_3", g = "_touched_u6sz6_23", x = "_label_u6sz6_28", u =
66
66
  };
67
67
  export {
68
68
  K as S,
69
- z as r,
69
+ P as r,
70
70
  C as s
71
71
  };
72
- //# sourceMappingURL=index-CMfR_USP.js.map
72
+ //# sourceMappingURL=index-C_YiNpZP.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CMfR_USP.js","sources":["../src/components/select/sanitize-select-props.ts","../src/lib/color.ts","../src/components/select/index.tsx"],"sourcesContent":["const selectKeys = new Set([\n 'aria-activedescendant',\n 'aria-autocomplete',\n 'aria-busy',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-live',\n 'aria-owns',\n 'aria-required',\n 'aria-roledescription',\n 'autoComplete',\n 'autoFocus',\n 'className',\n 'defaultValue',\n 'dir',\n 'disabled',\n 'form',\n 'id',\n 'multiple',\n 'name',\n 'onBlur',\n 'onChange',\n 'onClick',\n 'onFocus',\n 'onInput',\n 'onInvalid',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseUp',\n 'onPointerDown',\n 'onPointerUp',\n 'required',\n 'role',\n 'size',\n 'style',\n 'tabIndex',\n 'title',\n 'value',\n]);\n\nexport function sanitizeSelectProps<T extends Record<string, unknown>>(props: T) {\n return Object.fromEntries(\n Object.entries(props).filter(\n ([key]) => key.startsWith('data-') || key.startsWith('aria-') || selectKeys.has(key)\n )\n ) as Partial<T>;\n}\n","const cssVariablePattern = /^--[\\w-]+$/;\nconst cssVariableReferencePattern = /^var\\(\\s*(--[\\w-]+)\\s*(?:,\\s*(.+))?\\)$/;\n\nconst unresolvedColorKeywords = new Set([\n 'currentcolor',\n 'inherit',\n 'initial',\n 'revert',\n 'revert-layer',\n 'unset',\n]);\n\nconst probe = typeof document !== 'undefined' ? document.createElement('span') : null;\n\nfunction normalizeColorValue(input: string): string {\n const value = input.trim();\n\n if (!value || !probe || unresolvedColorKeywords.has(value.toLowerCase())) {\n return value;\n }\n\n const mountNode = document.body ?? document.documentElement;\n\n if (!mountNode) {\n return value;\n }\n\n probe.style.color = value;\n\n if (!probe.style.color) {\n return value;\n }\n\n mountNode.appendChild(probe);\n\n const normalized = getComputedStyle(probe).color.trim();\n probe.remove();\n\n return normalized || value;\n}\n\nexport function resolveColor(input: `--${string}` | string, fallback = 'currentColor'): string {\n if (typeof document === 'undefined') {\n return fallback;\n }\n\n const styles = getComputedStyle(document.documentElement);\n const seen = new Set<string>();\n let current = input.trim();\n\n while (current) {\n const match = current.match(cssVariableReferencePattern);\n const variableName = match?.[1] ?? (cssVariablePattern.test(current) ? current : null);\n const nestedFallback = match?.[2]?.trim();\n\n if (!variableName) {\n return normalizeColorValue(current);\n }\n\n if (seen.has(variableName)) {\n current = nestedFallback ?? '';\n continue;\n }\n\n seen.add(variableName);\n\n current = styles.getPropertyValue(variableName).trim() || nestedFallback || '';\n }\n\n return normalizeColorValue(fallback);\n}\n","import cx from 'classix';\n\nimport { iconSVG } from '@/components/icon/icons.ts';\nimport { resolveColor } from '@/lib/color';\nimport { useTouched } from '@/lib/use-touched';\n\nimport { sanitizeSelectProps } from './sanitize-select-props';\nimport styles from './styles.module.css';\n\nexport type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {\n children: React.ReactNode;\n label?: string;\n placeholder?: string;\n};\n\ntype withVars = React.CSSProperties & {\n '--icon-svg'?: string;\n};\n\nexport const Select = ({ children, label, placeholder, ...props }: SelectProps) => {\n const { touched, onBlur } = useTouched(props.value === '');\n const selectProps = sanitizeSelectProps(props);\n const { style, ...restSelectProps } = selectProps;\n const withVars = {\n ...style,\n '--icon-svg': iconSVG('chevron').replace(\n 'currentColor',\n resolveColor('--colors-semantic-content-secondary')\n ),\n } satisfies withVars;\n\n const selectElement = (\n <select\n className={cx(styles.select, touched && styles.touched)}\n onBlur={onBlur}\n style={withVars}\n {...restSelectProps}\n >\n {placeholder && (\n <option\n key='placeholder'\n value={''}\n hidden\n >\n {placeholder}\n </option>\n )}\n {children}\n </select>\n );\n\n if (!label) {\n return selectElement;\n }\n\n return (\n <label>\n <span\n className={styles.label}\n data-required={props.required || undefined}\n >\n {label}\n </span>\n {selectElement}\n </label>\n );\n};\n"],"names":["selectKeys","Set","sanitizeSelectProps","props","Object","fromEntries","entries","filter","key","startsWith","has","cssVariablePattern","cssVariableReferencePattern","unresolvedColorKeywords","probe","document","createElement","normalizeColorValue","input","value","trim","toLowerCase","mountNode","body","documentElement","style","color","appendChild","normalized","getComputedStyle","remove","resolveColor","fallback","styles","seen","current","match","variableName","test","nestedFallback","add","getPropertyValue","Select","children","label","placeholder","touched","onBlur","useTouched","selectProps","restSelectProps","withVars","iconSVG","replace","selectElement","jsxs","cx","select","jsx","required","undefined"],"mappings":";;;;AAAA,MAAMA,IAAa,oBAAIC,IAAI,CACzB,yBACA,qBACA,aACA,iBACA,oBACA,gBACA,iBACA,qBACA,iBACA,iBACA,eACA,gBACA,qBACA,cACA,mBACA,aACA,aACA,iBACA,wBACA,gBACA,aACA,aACA,gBACA,OACA,YACA,QACA,MACA,YACA,QACA,UACA,YACA,WACA,WACA,WACA,aACA,aACA,WACA,eACA,aACA,iBACA,eACA,YACA,QACA,QACA,SACA,YACA,SACA,OAAO,CACR;AAEM,SAASC,EAAuDC,GAAU;AAC/E,SAAOC,OAAOC,YACZD,OAAOE,QAAQH,CAAK,EAAEI,OACpB,CAAC,CAACC,CAAG,MAAMA,EAAIC,WAAW,OAAO,KAAKD,EAAIC,WAAW,OAAO,KAAKT,EAAWU,IAAIF,CAAG,CACrF,CACF;AACF;AC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kB;AAAA,EAC9E;AAEA,SAAOtB,EAAoBe,CAAQ;AACrC;;;;;GCnDaU,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,OAAAA;AAAAA,EAAOC,aAAAA;AAAAA,EAAa,GAAG1C;AAAmB,MAAM;AACjF,QAAM;AAAA,IAAE2C,SAAAA;AAAAA,IAASC,QAAAA;AAAAA,EAAAA,IAAWC,EAAW7C,EAAMgB,UAAU,EAAE,GACnD8B,IAAc/C,EAAoBC,CAAK,GACvC;AAAA,IAAEsB,OAAAA;AAAAA,IAAO,GAAGyB;AAAAA,EAAAA,IAAoBD,GAChCE,IAAW;AAAA,IACf,GAAG1B;AAAAA,IACH,cAAc2B,EAAQ,SAAS,EAAEC,QAC/B,gBACAtB,EAAa,qCAAqC,CACpD;AAAA,EAAA,GAGIuB,IACJ,gBAAAC,EAAC,UAAA,EACC,WAAWC,EAAGvB,EAAOwB,QAAQX,KAAWb,EAAOa,OAAO,GACtD,QAAAC,GACA,OAAOI,GACP,GAAID,GAEHL,UAAAA;AAAAA,IAAAA,uBACE,UAAA,EAEC,OAAO,IACP,QAAM,IAELA,eAJG,aAKN;AAAA,IAEDF;AAAAA,EAAAA,GACH;AAGF,SAAKC,IAKH,gBAAAW,EAAC,SAAA,EAAK,kBAAA,UACJ,UAAA;AAAA,IAAA,gBAAAG,EAAC,QAAA,EACC,WAAWzB,EAAOW,OAClB,iBAAezC,EAAMwD,YAAYC,QAEhChB,UAAAA,EAAAA,CACH;AAAA,IACCU;AAAAA,EAAAA,GACH,IAZOA;AAcX;"}
1
+ {"version":3,"file":"index-C_YiNpZP.js","sources":["../src/components/select/sanitize-select-props.ts","../src/lib/color.ts","../src/components/select/index.tsx"],"sourcesContent":["const selectKeys = new Set([\n 'aria-activedescendant',\n 'aria-autocomplete',\n 'aria-busy',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-live',\n 'aria-owns',\n 'aria-required',\n 'aria-roledescription',\n 'autoComplete',\n 'autoFocus',\n 'className',\n 'defaultValue',\n 'dir',\n 'disabled',\n 'form',\n 'id',\n 'multiple',\n 'name',\n 'onBlur',\n 'onChange',\n 'onClick',\n 'onFocus',\n 'onInput',\n 'onInvalid',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseUp',\n 'onPointerDown',\n 'onPointerUp',\n 'required',\n 'role',\n 'size',\n 'style',\n 'tabIndex',\n 'title',\n 'value',\n]);\n\nexport function sanitizeSelectProps<T extends Record<string, unknown>>(props: T) {\n return Object.fromEntries(\n Object.entries(props).filter(\n ([key]) => key.startsWith('data-') || key.startsWith('aria-') || selectKeys.has(key)\n )\n ) as Partial<T>;\n}\n","const cssVariablePattern = /^--[\\w-]+$/;\nconst cssVariableReferencePattern = /^var\\(\\s*(--[\\w-]+)\\s*(?:,\\s*(.+))?\\)$/;\n\nconst unresolvedColorKeywords = new Set([\n 'currentcolor',\n 'inherit',\n 'initial',\n 'revert',\n 'revert-layer',\n 'unset',\n]);\n\nconst probe = typeof document !== 'undefined' ? document.createElement('span') : null;\n\nfunction normalizeColorValue(input: string): string {\n const value = input.trim();\n\n if (!value || !probe || unresolvedColorKeywords.has(value.toLowerCase())) {\n return value;\n }\n\n const mountNode = document.body ?? document.documentElement;\n\n if (!mountNode) {\n return value;\n }\n\n probe.style.color = value;\n\n if (!probe.style.color) {\n return value;\n }\n\n mountNode.appendChild(probe);\n\n const normalized = getComputedStyle(probe).color.trim();\n probe.remove();\n\n return normalized || value;\n}\n\nexport function resolveColor(input: `--${string}` | string, fallback = 'currentColor'): string {\n if (typeof document === 'undefined') {\n return fallback;\n }\n\n const styles = getComputedStyle(document.documentElement);\n const seen = new Set<string>();\n let current = input.trim();\n\n while (current) {\n const match = current.match(cssVariableReferencePattern);\n const variableName = match?.[1] ?? (cssVariablePattern.test(current) ? current : null);\n const nestedFallback = match?.[2]?.trim();\n\n if (!variableName) {\n return normalizeColorValue(current);\n }\n\n if (seen.has(variableName)) {\n current = nestedFallback ?? '';\n continue;\n }\n\n seen.add(variableName);\n\n current = styles.getPropertyValue(variableName).trim() || nestedFallback || '';\n }\n\n return normalizeColorValue(fallback);\n}\n","import cx from 'classix';\n\nimport { iconSVG } from '@/components/icon/icons.ts';\nimport { resolveColor } from '@/lib/color';\nimport { useTouched } from '@/lib/use-touched';\n\nimport { sanitizeSelectProps } from './sanitize-select-props';\nimport styles from './styles.module.css';\n\nexport type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {\n children: React.ReactNode;\n label?: string;\n placeholder?: string;\n};\n\ntype withVars = React.CSSProperties & {\n '--icon-svg'?: string;\n};\n\nexport const Select = ({ children, label, placeholder, ...props }: SelectProps) => {\n const { touched, onBlur } = useTouched(props.value === '');\n const selectProps = sanitizeSelectProps(props);\n const { style, ...restSelectProps } = selectProps;\n const withVars = {\n ...style,\n '--icon-svg': iconSVG('chevron').replace(\n 'currentColor',\n resolveColor('--colors-semantic-content-secondary')\n ),\n } satisfies withVars;\n\n const selectElement = (\n <select\n className={cx(styles.select, touched && styles.touched)}\n onBlur={onBlur}\n style={withVars}\n {...restSelectProps}\n >\n {placeholder && (\n <option\n key='placeholder'\n value={''}\n hidden\n >\n {placeholder}\n </option>\n )}\n {children}\n </select>\n );\n\n if (!label) {\n return selectElement;\n }\n\n return (\n <label>\n <span\n className={styles.label}\n data-required={props.required || undefined}\n >\n {label}\n </span>\n {selectElement}\n </label>\n );\n};\n"],"names":["selectKeys","Set","sanitizeSelectProps","props","Object","fromEntries","entries","filter","key","startsWith","has","cssVariablePattern","cssVariableReferencePattern","unresolvedColorKeywords","probe","document","createElement","normalizeColorValue","input","value","trim","toLowerCase","mountNode","body","documentElement","style","color","appendChild","normalized","getComputedStyle","remove","resolveColor","fallback","styles","seen","current","match","variableName","test","nestedFallback","add","getPropertyValue","Select","children","label","placeholder","touched","onBlur","useTouched","selectProps","restSelectProps","withVars","iconSVG","replace","selectElement","jsxs","cx","select","jsx","required","undefined"],"mappings":";;;;AAAA,MAAMA,IAAa,oBAAIC,IAAI,CACzB,yBACA,qBACA,aACA,iBACA,oBACA,gBACA,iBACA,qBACA,iBACA,iBACA,eACA,gBACA,qBACA,cACA,mBACA,aACA,aACA,iBACA,wBACA,gBACA,aACA,aACA,gBACA,OACA,YACA,QACA,MACA,YACA,QACA,UACA,YACA,WACA,WACA,WACA,aACA,aACA,WACA,eACA,aACA,iBACA,eACA,YACA,QACA,QACA,SACA,YACA,SACA,OAAO,CACR;AAEM,SAASC,EAAuDC,GAAU;AAC/E,SAAOC,OAAOC,YACZD,OAAOE,QAAQH,CAAK,EAAEI,OACpB,CAAC,CAACC,CAAG,MAAMA,EAAIC,WAAW,OAAO,KAAKD,EAAIC,WAAW,OAAO,KAAKT,EAAWU,IAAIF,CAAG,CACrF,CACF;AACF;ACzDA,MAAMG,IAAqB,cACrBC,IAA8B,0CAE9BC,IAA0B,oBAAIZ,IAAI,CACtC,gBACA,WACA,WACA,UACA,gBACA,OAAO,CACR,GAEKa,IAAQ,OAAOC,WAAa,MAAcA,SAASC,cAAc,MAAM,IAAI;AAEjF,SAASC,EAAoBC,GAAuB;AAClD,QAAMC,IAAQD,EAAME,KAAAA;AAEpB,MAAI,CAACD,KAAS,CAACL,KAASD,EAAwBH,IAAIS,EAAME,YAAAA,CAAa;AACrE,WAAOF;AAGT,QAAMG,IAAYP,SAASQ,QAAQR,SAASS;AAQ5C,MANI,CAACF,MAILR,EAAMW,MAAMC,QAAQP,GAEhB,CAACL,EAAMW,MAAMC;AACf,WAAOP;AAGTG,EAAAA,EAAUK,YAAYb,CAAK;AAE3B,QAAMc,IAAaC,iBAAiBf,CAAK,EAAEY,MAAMN,KAAAA;AACjDN,SAAAA,EAAMgB,OAAAA,GAECF,KAAcT;AACvB;AAEO,SAASY,EAAab,GAA+Bc,IAAW,gB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GACP,GAAID,GAEHL,UAAAA;AAAAA,IAAAA,uBACE,UAAA,EAEC,OAAO,IACP,QAAM,IAELA,eAJG,aAKN;AAAA,IAEDF;AAAAA,EAAAA,GACH;AAGF,SAAKC,IAKH,gBAAAW,EAAC,SAAA,EAAK,kBAAA,UACJ,UAAA;AAAA,IAAA,gBAAAG,EAAC,QAAA,EACC,WAAWzB,EAAOW,OAClB,iBAAezC,EAAMwD,YAAYC,QAEhChB,UAAAA,EAAAA,CACH;AAAA,IACCU;AAAAA,EAAAA,GACH,IAZOA;AAcX;"}
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const n=require("./components/app-link/index.cjs"),o=require("./components/aside/index.cjs"),t=require("./components/avatar/index.cjs"),r=require("./components/badge/index.cjs"),i=require("./components/banner/index.cjs"),s=require("./components/branding/index.cjs"),c=require("./components/button/index.cjs"),_=require("./components/card/index.cjs"),p=require("./components/checkbox/index.cjs"),a=require("./components/chip/index.cjs"),d=require("./components/collapsible/index.cjs"),u=require("./components/controls/index.cjs"),m=require("./components/croppable/index.cjs"),x=require("./components/dialog/index.cjs"),l=require("./components/dropdown/index.cjs"),q=require("./components/dropzone/index.cjs"),g=require("./components/editor/index.cjs"),b=require("./components/empty-state/index.cjs"),T=require("./components/fieldset/index.cjs"),h=require("./components/figure/index.cjs"),v=require("./components/file/index.cjs"),C=require("./components/footer/index.cjs"),L=require("./components/form/index.cjs"),S=require("./components/graph/index.cjs"),F=require("./components/group/index.cjs"),f=require("./components/header/index.cjs"),k=require("./components/icon/index.cjs"),B=require("./components/iframe/index.cjs"),I=require("./components/image/index.cjs"),M=require("./index-CEzqxRIu.cjs"),A=require("./components/link/index.cjs"),D=require("./components/list/index.cjs"),y=require("./components/loading/index.cjs"),P=require("./components/menu/index.cjs"),j=require("./components/message/index.cjs"),w=require("./components/messages/index.cjs"),e=require("./components/nav/index.cjs"),E=require("./components/object/index.cjs"),G=require("./components/popover/index.cjs"),N=require("./components/portal/index.cjs"),z=require("./components/search/index.cjs"),O=require("./index-oL8GYbhj.cjs"),H=require("./components/sortable/index.cjs"),W=require("./components/table/index.cjs"),J=require("./components/textarea/index.cjs"),K=require("./components/toast/index.cjs"),Q=require("./components/toasts/index.cjs"),R=require("./components/toggle/index.cjs"),U=require("./components/toolbar/index.cjs"),V=require("./components/tooltip/index.cjs"),X=require("./components/widget/index.cjs");exports.AppLink=n.AppLink;exports.Aside=o.Aside;exports.Avatar=t.Avatar;exports.Badge=r.Badge;exports.Banner=i.Banner;exports.Branding=s.Branding;exports.Button=c.Button;exports.Card=_.Card;exports.Checkbox=p.Checkbox;exports.Chip=a.Chip;exports.Collapsible=d.Collapsible;exports.Controls=u.Controls;exports.Croppable=m.Croppable;exports.Dialog=x.Dialog;exports.Dropdown=l.Dropdown;exports.Dropzone=q.Dropzone;exports.Editor=g.Editor;exports.EmptyState=b.EmptyState;exports.Fieldset=T.Fieldset;exports.Figure=h.Figure;exports.File=v.File;exports.Footer=C.Footer;exports.Form=L.Form;exports.Graph=S.Graph;exports.Group=F.Group;exports.Header=f.Header;exports.Icon=k.Icon;exports.Iframe=B.Iframe;exports.Image=I.Image;exports.Input=M.Input;exports.Link=A.Link;exports.List=D.List;exports.Loading=y.Loading;exports.Menu=P.Menu;exports.Message=j.Message;exports.Messages=w.Messages;exports.Nav=e.Nav;exports.NavLabel=e.NavLabel;exports.Object=E.Object;exports.Popover=G.Popover;exports.Portal=N.Portal;exports.Search=z.Search;exports.Select=O.Select;exports.Sortable=H.Sortable;exports.Table=W.Table;exports.Textarea=J.Textarea;exports.Toast=K.Toast;exports.Toasts=Q.Toasts;exports.Toggle=R.Toggle;exports.Toolbar=U.Toolbar;exports.Tooltip=V.Tooltip;exports.Widget=X.Widget;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const o=require("./components/app-link/index.cjs"),t=require("./components/aside/index.cjs"),r=require("./components/avatar/index.cjs"),i=require("./components/badge/index.cjs"),s=require("./components/banner/index.cjs"),c=require("./components/branding/index.cjs"),_=require("./components/button/index.cjs"),p=require("./components/card/index.cjs"),a=require("./components/checkbox/index.cjs"),d=require("./components/chip/index.cjs"),u=require("./components/collapsible/index.cjs"),m=require("./components/controls/index.cjs"),l=require("./components/croppable/index.cjs"),x=require("./components/dialog/index.cjs"),q=require("./components/dropdown/index.cjs"),g=require("./components/dropzone/index.cjs"),b=require("./components/editor/index.cjs"),T=require("./components/empty-state/index.cjs"),h=require("./components/fieldset/index.cjs"),S=require("./components/figure/index.cjs"),v=require("./components/file/index.cjs"),C=require("./components/footer/index.cjs"),L=require("./components/form/index.cjs"),F=require("./components/graph/index.cjs"),I=require("./components/group/index.cjs"),f=require("./components/header/index.cjs"),k=require("./components/icon/index.cjs"),B=require("./components/iframe/index.cjs"),M=require("./components/image/index.cjs"),A=require("./index-CEzqxRIu.cjs"),D=require("./components/link/index.cjs"),y=require("./components/list/index.cjs"),O=require("./components/loading/index.cjs"),P=require("./components/menu/index.cjs"),j=require("./components/message/index.cjs"),w=require("./components/messages/index.cjs"),e=require("./components/nav/index.cjs"),E=require("./components/object/index.cjs"),G=require("./components/popover/index.cjs"),N=require("./components/portal/index.cjs"),z=require("./components/search/index.cjs"),H=require("./index-BPIK2dxs.cjs"),n=require("./components/sortable/index.cjs"),W=require("./components/table/index.cjs"),J=require("./components/textarea/index.cjs"),K=require("./components/toast/index.cjs"),Q=require("./components/toasts/index.cjs"),R=require("./components/toggle/index.cjs"),U=require("./components/toolbar/index.cjs"),V=require("./components/tooltip/index.cjs"),X=require("./components/widget/index.cjs");exports.AppLink=o.AppLink;exports.Aside=t.Aside;exports.Avatar=r.Avatar;exports.Badge=i.Badge;exports.Banner=s.Banner;exports.Branding=c.Branding;exports.Button=_.Button;exports.Card=p.Card;exports.Checkbox=a.Checkbox;exports.Chip=d.Chip;exports.Collapsible=u.Collapsible;exports.Controls=m.Controls;exports.Croppable=l.Croppable;exports.Dialog=x.Dialog;exports.Dropdown=q.Dropdown;exports.Dropzone=g.Dropzone;exports.Editor=b.Editor;exports.EmptyState=T.EmptyState;exports.Fieldset=h.Fieldset;exports.Figure=S.Figure;exports.File=v.File;exports.Footer=C.Footer;exports.Form=L.Form;exports.Graph=F.Graph;exports.Group=I.Group;exports.Header=f.Header;exports.Icon=k.Icon;exports.Iframe=B.Iframe;exports.Image=M.Image;exports.Input=A.Input;exports.Link=D.Link;exports.List=y.List;exports.Loading=O.Loading;exports.Menu=P.Menu;exports.Message=j.Message;exports.Messages=w.Messages;exports.Nav=e.Nav;exports.NavLabel=e.NavLabel;exports.Object=E.Object;exports.Popover=G.Popover;exports.Portal=N.Portal;exports.Search=z.Search;exports.Select=H.Select;exports.Sortable=n.Sortable;exports.useOptionalSortableItem=n.useOptionalSortableItem;exports.Table=W.Table;exports.Textarea=J.Textarea;exports.Toast=K.Toast;exports.Toasts=Q.Toasts;exports.Toggle=R.Toggle;exports.Toolbar=U.Toolbar;exports.Tooltip=V.Tooltip;exports.Widget=X.Widget;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -172,11 +172,12 @@ declare type DefaultCardProps = BaseCardProps & {
172
172
  variant?: 'default';
173
173
  };
174
174
 
175
- export declare const Dialog: ({ children, className, controls, header, onCancel, onClick, onClose, open, setOpen, ...props }: DialogProps) => JSX.Element;
175
+ export declare const Dialog: ({ children, className, controls, fullscreen, header, onCancel, onClick, onClose, open, setOpen, ...props }: DialogProps) => JSX.Element;
176
176
 
177
177
  declare type DialogProps = default_2.DialogHTMLAttributes<HTMLDialogElement> & {
178
178
  children: default_2.ReactNode;
179
179
  controls?: default_2.ReactNode;
180
+ fullscreen?: boolean;
180
181
  header?: default_2.ReactNode;
181
182
  setOpen?: default_2.Dispatch<default_2.SetStateAction<boolean>>;
182
183
  };
@@ -557,7 +558,7 @@ declare type LoadingProps = {
557
558
 
558
559
  export declare const Menu: ({ inline, items, menuAccessibleLabel, onItemSelect, position, triggerAccessibleLabel, }: MenuProps) => JSX.Element;
559
560
 
560
- declare type MenuItem = {
561
+ export declare type MenuItem = {
561
562
  accessibleLabel?: string;
562
563
  disabled?: boolean;
563
564
  icon?: IconName;
@@ -732,6 +733,14 @@ declare const sizes: {
732
733
  */
733
734
  export declare function Sortable({ children, className, columns, isRearranging, onChangeOrder, ...props }: SortableProps): JSX.Element;
734
735
 
736
+ declare type SortableItemContextValue = {
737
+ canMoveDown: boolean;
738
+ canMoveUp: boolean;
739
+ index: number;
740
+ moveDown: () => void;
741
+ moveUp: () => void;
742
+ };
743
+
735
744
  declare type SortableProps = default_2.ComponentPropsWithoutRef<'ol'> & {
736
745
  columns?: number;
737
746
  isRearranging?: boolean;
@@ -809,6 +818,8 @@ declare type TooltipProps = {
809
818
  variant?: keyof typeof variants_9;
810
819
  };
811
820
 
821
+ export declare function useOptionalSortableItem(): SortableItemContextValue | null;
822
+
812
823
  declare const variants: {
813
824
  default: string;
814
825
  sidebar: string;
package/dist/index.js CHANGED
@@ -6,18 +6,18 @@ import { Banner as i } from "./components/banner/index.js";
6
6
  import { Branding as n } from "./components/branding/index.js";
7
7
  import { Button as d } from "./components/button/index.js";
8
8
  import { Card as T } from "./components/card/index.js";
9
- import { Checkbox as c } from "./components/checkbox/index.js";
10
- import { Chip as F } from "./components/chip/index.js";
11
- import { Collapsible as L } from "./components/collapsible/index.js";
9
+ import { Checkbox as C } from "./components/checkbox/index.js";
10
+ import { Chip as S } from "./components/chip/index.js";
11
+ import { Collapsible as F } from "./components/collapsible/index.js";
12
12
  import { Controls as h } from "./components/controls/index.js";
13
13
  import { Croppable as B } from "./components/croppable/index.js";
14
14
  import { Dialog as A } from "./components/dialog/index.js";
15
15
  import { Dropdown as M } from "./components/dropdown/index.js";
16
16
  import { Dropzone as G } from "./components/dropzone/index.js";
17
- import { Editor as P } from "./components/editor/index.js";
18
- import { EmptyState as w } from "./components/empty-state/index.js";
19
- import { Fieldset as z } from "./components/fieldset/index.js";
20
- import { Figure as O } from "./components/figure/index.js";
17
+ import { Editor as O } from "./components/editor/index.js";
18
+ import { EmptyState as j } from "./components/empty-state/index.js";
19
+ import { Fieldset as y } from "./components/fieldset/index.js";
20
+ import { Figure as H } from "./components/figure/index.js";
21
21
  import { File as q } from "./components/file/index.js";
22
22
  import { Footer as K } from "./components/footer/index.js";
23
23
  import { Form as R } from "./components/form/index.js";
@@ -32,23 +32,23 @@ import { Link as ao } from "./components/link/index.js";
32
32
  import { List as io } from "./components/list/index.js";
33
33
  import { Loading as no } from "./components/loading/index.js";
34
34
  import { Menu as bo } from "./components/menu/index.js";
35
- import { Message as Co } from "./components/message/index.js";
36
- import { Messages as uo } from "./components/messages/index.js";
37
- import { Nav as Io, NavLabel as Lo } from "./components/nav/index.js";
35
+ import { Message as uo } from "./components/message/index.js";
36
+ import { Messages as Io } from "./components/messages/index.js";
37
+ import { Nav as co, NavLabel as Fo } from "./components/nav/index.js";
38
38
  import { Object as ho } from "./components/object/index.js";
39
39
  import { Popover as Bo } from "./components/popover/index.js";
40
40
  import { Portal as Ao } from "./components/portal/index.js";
41
41
  import { Search as Mo } from "./components/search/index.js";
42
- import { S as Go } from "./index-CMfR_USP.js";
43
- import { Sortable as Po } from "./components/sortable/index.js";
42
+ import { S as Go } from "./index-C_YiNpZP.js";
43
+ import { Sortable as Oo, useOptionalSortableItem as Po } from "./components/sortable/index.js";
44
44
  import { Table as wo } from "./components/table/index.js";
45
45
  import { Textarea as zo } from "./components/textarea/index.js";
46
- import { Toast as Oo } from "./components/toast/index.js";
47
- import { Toasts as qo } from "./components/toasts/index.js";
48
- import { Toggle as Ko } from "./components/toggle/index.js";
49
- import { Toolbar as Ro } from "./components/toolbar/index.js";
50
- import { Tooltip as Vo } from "./components/tooltip/index.js";
51
- import { Widget as Yo } from "./components/widget/index.js";
46
+ import { Toast as Wo } from "./components/toast/index.js";
47
+ import { Toasts as Jo } from "./components/toasts/index.js";
48
+ import { Toggle as Qo } from "./components/toggle/index.js";
49
+ import { Toolbar as Uo } from "./components/toolbar/index.js";
50
+ import { Tooltip as Xo } from "./components/tooltip/index.js";
51
+ import { Widget as Zo } from "./components/widget/index.js";
52
52
  import './assets/index.css';export {
53
53
  e as AppLink,
54
54
  p as Aside,
@@ -58,18 +58,18 @@ import './assets/index.css';export {
58
58
  n as Branding,
59
59
  d as Button,
60
60
  T as Card,
61
- c as Checkbox,
62
- F as Chip,
63
- L as Collapsible,
61
+ C as Checkbox,
62
+ S as Chip,
63
+ F as Collapsible,
64
64
  h as Controls,
65
65
  B as Croppable,
66
66
  A as Dialog,
67
67
  M as Dropdown,
68
68
  G as Dropzone,
69
- P as Editor,
70
- w as EmptyState,
71
- z as Fieldset,
72
- O as Figure,
69
+ O as Editor,
70
+ j as EmptyState,
71
+ y as Fieldset,
72
+ H as Figure,
73
73
  q as File,
74
74
  K as Footer,
75
75
  R as Form,
@@ -84,23 +84,24 @@ import './assets/index.css';export {
84
84
  io as List,
85
85
  no as Loading,
86
86
  bo as Menu,
87
- Co as Message,
88
- uo as Messages,
89
- Io as Nav,
90
- Lo as NavLabel,
87
+ uo as Message,
88
+ Io as Messages,
89
+ co as Nav,
90
+ Fo as NavLabel,
91
91
  ho as Object,
92
92
  Bo as Popover,
93
93
  Ao as Portal,
94
94
  Mo as Search,
95
95
  Go as Select,
96
- Po as Sortable,
96
+ Oo as Sortable,
97
97
  wo as Table,
98
98
  zo as Textarea,
99
- Oo as Toast,
100
- qo as Toasts,
101
- Ko as Toggle,
102
- Ro as Toolbar,
103
- Vo as Tooltip,
104
- Yo as Widget
99
+ Wo as Toast,
100
+ Jo as Toasts,
101
+ Qo as Toggle,
102
+ Uo as Toolbar,
103
+ Xo as Tooltip,
104
+ Zo as Widget,
105
+ Po as useOptionalSortableItem
105
106
  };
106
107
  //# sourceMappingURL=index.js.map
package/dist/tokens.css CHANGED
@@ -262,6 +262,7 @@
262
262
  --shape-spacing-xs: var(--scale-8);
263
263
  --shape-width-max: 480px;
264
264
  --shape-width-max-lg: 640px;
265
+ --shape-width-sidebar: 240px;
265
266
  --typography-font-sizes-body-lg: var(--scale-18);
266
267
  --typography-font-sizes-body-md: var(--scale-16);
267
268
  --typography-font-sizes-body-sm: var(--scale-14);
@@ -277,9 +278,10 @@
277
278
  --utils-tokens-blur-default: var(--scale-8);
278
279
  --utils-tokens-font-family: 'Figtree', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
279
280
  --utils-tokens-gradient: linear-gradient(180deg, rgb(255 255 255 / 100%), transparent 50%);
280
- --utils-tokens-icon-large: var(--scale-28);
281
+ --utils-tokens-icon-large: var(--scale-32);
281
282
  --utils-tokens-icon-medium: var(--scale-24);
282
283
  --utils-tokens-icon-small: var(--scale-16);
284
+ --utils-tokens-icon-tiny: var(--scale-12);
283
285
  --utils-tokens-negative-unit: var(--scale-negative-16);
284
286
  --utils-tokens-opacity-minimal: 0.5;
285
287
  --utils-tokens-transition-delay: 125ms;
package/dist/tokens.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "$description": "Design tokens exported from Figma",
3
3
  "$extensions": {
4
4
  "com.figma": {
5
- "exportedAt": "2026-09-07T10:58:12.476Z",
5
+ "exportedAt": "2026-09-08T08:37:18.336Z",
6
6
  "history": [
7
7
  {
8
8
  "author": "Anne Cathrine",
9
9
  "changesSummary": "Export from Figma",
10
- "exportedAt": "2026-09-07T10:58:12.476Z",
11
- "variableCount": 286,
10
+ "exportedAt": "2026-09-08T08:37:18.336Z",
11
+ "variableCount": 288,
12
12
  "version": "1.0.0"
13
13
  }
14
14
  ],
@@ -332,6 +332,7 @@
332
332
  "shape.spacing.xs": "shape/spacing/xs",
333
333
  "shape.width.max": "shape/width/max",
334
334
  "shape.width.max-lg": "shape/width/max-lg",
335
+ "shape.width.sidebar": "shape/width/sidebar",
335
336
  "typography.font-sizes.body-lg": "typography/font-sizes/body-lg",
336
337
  "typography.font-sizes.body-md": "typography/font-sizes/body-md",
337
338
  "typography.font-sizes.body-sm": "typography/font-sizes/body-sm",
@@ -350,6 +351,7 @@
350
351
  "utils.tokens.icon.large": "utils/tokens/icon/large",
351
352
  "utils.tokens.icon.medium": "utils/tokens/icon/medium",
352
353
  "utils.tokens.icon.small": "utils/tokens/icon/small",
354
+ "utils.tokens.icon.tiny": "utils/tokens/icon/tiny",
353
355
  "utils.tokens.negative.unit": "utils/tokens/negative/unit",
354
356
  "utils.tokens.opacity.minimal": "utils/tokens/opacity/minimal",
355
357
  "utils.tokens.transition.delay": "utils/tokens/transition/delay",
@@ -363,7 +365,7 @@
363
365
  },
364
366
  "com.solibo": {
365
367
  "packageName": "@solibo/solibo-ui",
366
- "packageVersion": "1.0.7"
368
+ "packageVersion": "1.0.9"
367
369
  }
368
370
  },
369
371
  "$name": "Solibo UI Tokens",
@@ -3664,7 +3666,7 @@
3664
3666
  "$type": "number",
3665
3667
  "$value": {
3666
3668
  "Desktop": 48,
3667
- "New brand": ""
3669
+ "New brand": 24
3668
3670
  }
3669
3671
  },
3670
3672
  "Color": {
@@ -3706,7 +3708,7 @@
3706
3708
  "$type": "number",
3707
3709
  "$value": {
3708
3710
  "Desktop": 32,
3709
- "New brand": ""
3711
+ "New brand": 16
3710
3712
  }
3711
3713
  },
3712
3714
  "spread": {
@@ -3720,7 +3722,7 @@
3720
3722
  "$type": "number",
3721
3723
  "$value": {
3722
3724
  "Desktop": -16,
3723
- "New brand": ""
3725
+ "New brand": -12
3724
3726
  }
3725
3727
  }
3726
3728
  },
@@ -3736,7 +3738,7 @@
3736
3738
  "$type": "number",
3737
3739
  "$value": {
3738
3740
  "Desktop": 24,
3739
- "New brand": ""
3741
+ "New brand": 16
3740
3742
  }
3741
3743
  },
3742
3744
  "Color": {
@@ -3778,7 +3780,7 @@
3778
3780
  "$type": "number",
3779
3781
  "$value": {
3780
3782
  "Desktop": 20,
3781
- "New brand": ""
3783
+ "New brand": 12
3782
3784
  }
3783
3785
  },
3784
3786
  "spread": {
@@ -3792,7 +3794,7 @@
3792
3794
  "$type": "number",
3793
3795
  "$value": {
3794
3796
  "Desktop": -12,
3795
- "New brand": ""
3797
+ "New brand": -8
3796
3798
  }
3797
3799
  }
3798
3800
  },
@@ -3808,7 +3810,7 @@
3808
3810
  "$type": "number",
3809
3811
  "$value": {
3810
3812
  "Desktop": 16,
3811
- "New brand": ""
3813
+ "New brand": 12
3812
3814
  }
3813
3815
  },
3814
3816
  "Color": {
@@ -3850,7 +3852,7 @@
3850
3852
  "$type": "number",
3851
3853
  "$value": {
3852
3854
  "Desktop": 12,
3853
- "New brand": ""
3855
+ "New brand": 8
3854
3856
  }
3855
3857
  },
3856
3858
  "spread": {
@@ -3864,7 +3866,7 @@
3864
3866
  "$type": "number",
3865
3867
  "$value": {
3866
3868
  "Desktop": -8,
3867
- "New brand": ""
3869
+ "New brand": -4
3868
3870
  }
3869
3871
  }
3870
3872
  },
@@ -3880,7 +3882,7 @@
3880
3882
  "$type": "number",
3881
3883
  "$value": {
3882
3884
  "Desktop": 64,
3883
- "New brand": ""
3885
+ "New brand": 32
3884
3886
  }
3885
3887
  },
3886
3888
  "Color": {
@@ -3922,7 +3924,7 @@
3922
3924
  "$type": "number",
3923
3925
  "$value": {
3924
3926
  "Desktop": 48,
3925
- "New brand": ""
3927
+ "New brand": 24
3926
3928
  }
3927
3929
  },
3928
3930
  "spread": {
@@ -3936,7 +3938,7 @@
3936
3938
  "$type": "number",
3937
3939
  "$value": {
3938
3940
  "Desktop": -24,
3939
- "New brand": ""
3941
+ "New brand": -16
3940
3942
  }
3941
3943
  }
3942
3944
  },
@@ -3952,7 +3954,7 @@
3952
3954
  "$type": "number",
3953
3955
  "$value": {
3954
3956
  "Desktop": 4,
3955
- "New brand": ""
3957
+ "New brand": 2
3956
3958
  }
3957
3959
  },
3958
3960
  "Color": {
@@ -3994,7 +3996,7 @@
3994
3996
  "$type": "number",
3995
3997
  "$value": {
3996
3998
  "Desktop": 2,
3997
- "New brand": ""
3999
+ "New brand": 1
3998
4000
  }
3999
4001
  },
4000
4002
  "spread": {
@@ -4213,6 +4215,20 @@
4213
4215
  "Desktop": 640,
4214
4216
  "New brand": 640
4215
4217
  }
4218
+ },
4219
+ "sidebar": {
4220
+ "$extensions": {
4221
+ "com.figma": {
4222
+ "scopes": [
4223
+ "ALL_SCOPES"
4224
+ ]
4225
+ }
4226
+ },
4227
+ "$type": "number",
4228
+ "$value": {
4229
+ "Desktop": 240,
4230
+ "New brand": ""
4231
+ }
4216
4232
  }
4217
4233
  }
4218
4234
  },
@@ -4445,7 +4461,7 @@
4445
4461
  }
4446
4462
  },
4447
4463
  "$type": "number",
4448
- "$value": "{scale.28}"
4464
+ "$value": "{scale.32}"
4449
4465
  },
4450
4466
  "medium": {
4451
4467
  "$extensions": {
@@ -4468,6 +4484,17 @@
4468
4484
  },
4469
4485
  "$type": "number",
4470
4486
  "$value": "{scale.16}"
4487
+ },
4488
+ "tiny": {
4489
+ "$extensions": {
4490
+ "com.figma": {
4491
+ "scopes": [
4492
+ "ALL_SCOPES"
4493
+ ]
4494
+ }
4495
+ },
4496
+ "$type": "number",
4497
+ "$value": "{scale.12}"
4471
4498
  }
4472
4499
  },
4473
4500
  "negative": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solibo/solibo-ui",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "pnpm run tokens:build && vite build --watch",