@assure-one/design-system 1.35.0 → 1.37.0

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 (38) hide show
  1. package/README.md +52 -0
  2. package/codemods/README.md +155 -12
  3. package/codemods/lib/registry.mjs +5 -0
  4. package/codemods/transforms/cm-07-input-size.mjs +104 -0
  5. package/codemods/transforms/cm-08-search-select-to-combobox.mjs +236 -0
  6. package/codemods/transforms/cm-09-side-drawer-to-sheet.mjs +348 -0
  7. package/codemods/transforms/cm-10-date-picker-value-change.mjs +416 -0
  8. package/codemods/transforms/cm-13-tooltip-delay.mjs +99 -0
  9. package/codemods/transforms/cm-14-hidden-mirrors.mjs +2 -2
  10. package/dist/css/components.css +1 -1
  11. package/dist/css/legacy-aliases.css +25 -1
  12. package/dist/css/shadcn.css +2 -2
  13. package/dist/css/tailwind.css +9 -0
  14. package/dist/css/tokens.css +64 -38
  15. package/dist/design-system-provider-C8UlFe52.d.ts +549 -0
  16. package/dist/icons/index.d.ts +2 -2
  17. package/dist/icons/index.js +6 -2
  18. package/dist/icons/index.js.map +1 -1
  19. package/dist/{index-B3OiMlQv.d.ts → index-vztxMSfl.d.ts} +7 -4
  20. package/dist/index.d.ts +2259 -345
  21. package/dist/index.js +7229 -3057
  22. package/dist/index.js.map +1 -1
  23. package/dist/next/index.d.ts +20 -0
  24. package/dist/next/index.js +16 -0
  25. package/dist/next/index.js.map +1 -0
  26. package/dist/styles.css +1 -1
  27. package/dist/{system-lyhOUTpa.d.ts → system-CyAVbHhM.d.ts} +17 -17
  28. package/dist/testing/index.cjs +133 -11
  29. package/dist/testing/index.d.cts +98 -2
  30. package/dist/testing/index.d.ts +98 -2
  31. package/dist/testing/index.js +132 -12
  32. package/dist/tokens/index.d.ts +1 -1
  33. package/dist/tokens/index.js +8 -8
  34. package/dist/tokens/index.js.map +1 -1
  35. package/docs/components.md +606 -0
  36. package/docs/components.registry.json +1604 -0
  37. package/docs/for-ai-agents.md +153 -0
  38. package/package.json +15 -3
@@ -1,4 +1,4 @@
1
- import { S as SystemTokens, i as iconSizes } from './system-lyhOUTpa.js';
1
+ import { S as SystemTokens, i as iconSizes } from './system-CyAVbHhM.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
 
4
4
  /**
@@ -101,8 +101,11 @@ interface IconProps extends React.SVGAttributes<SVGElement> {
101
101
  size?: IconSize | number;
102
102
  /**
103
103
  * Stroke width of every stroked element, set once on the root `<svg>` and
104
- * inherited. Defaults to 1.5, the catalogue's baseline; the few glyphs drawn
105
- * heavier (`XIcon`, `CheckIcon`, `BoldIcon`) default to their own weight.
104
+ * inherited. Defaults to the catalogue's 1.5 at the 24px drawing size, scaled
105
+ * so the rendered line stays ~1.5px in a smaller box (2.25 at 16px and below,
106
+ * 1.8 at 20px — Polish 2 §3.9); the few glyphs drawn heavier (`XIcon`,
107
+ * `CheckIcon`, `BoldIcon`) default to their own weight. An explicit value
108
+ * always wins.
106
109
  */
107
110
  strokeWidth?: number | string;
108
111
  /**
@@ -130,7 +133,7 @@ interface IconDefinition {
130
133
  paths: string | readonly string[] | React.ReactNode;
131
134
  /** Defaults to `"0 0 24 24"`. A product icon drawn on another grid sets its own. */
132
135
  viewBox?: string;
133
- /** This glyph's default stroke width when the caller passes none. Defaults to 1.5. */
136
+ /** This glyph's default stroke width when the caller passes none. Defaults to the optical 1.5-at-24 stroke. */
134
137
  strokeWidth?: number | string;
135
138
  }
136
139
  /**