@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.
- package/README.md +52 -0
- package/codemods/README.md +155 -12
- package/codemods/lib/registry.mjs +5 -0
- package/codemods/transforms/cm-07-input-size.mjs +104 -0
- package/codemods/transforms/cm-08-search-select-to-combobox.mjs +236 -0
- package/codemods/transforms/cm-09-side-drawer-to-sheet.mjs +348 -0
- package/codemods/transforms/cm-10-date-picker-value-change.mjs +416 -0
- package/codemods/transforms/cm-13-tooltip-delay.mjs +99 -0
- package/codemods/transforms/cm-14-hidden-mirrors.mjs +2 -2
- package/dist/css/components.css +1 -1
- package/dist/css/legacy-aliases.css +25 -1
- package/dist/css/shadcn.css +2 -2
- package/dist/css/tailwind.css +9 -0
- package/dist/css/tokens.css +64 -38
- package/dist/design-system-provider-C8UlFe52.d.ts +549 -0
- package/dist/icons/index.d.ts +2 -2
- package/dist/icons/index.js +6 -2
- package/dist/icons/index.js.map +1 -1
- package/dist/{index-B3OiMlQv.d.ts → index-vztxMSfl.d.ts} +7 -4
- package/dist/index.d.ts +2259 -345
- package/dist/index.js +7229 -3057
- package/dist/index.js.map +1 -1
- package/dist/next/index.d.ts +20 -0
- package/dist/next/index.js +16 -0
- package/dist/next/index.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/{system-lyhOUTpa.d.ts → system-CyAVbHhM.d.ts} +17 -17
- package/dist/testing/index.cjs +133 -11
- package/dist/testing/index.d.cts +98 -2
- package/dist/testing/index.d.ts +98 -2
- package/dist/testing/index.js +132 -12
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +8 -8
- package/dist/tokens/index.js.map +1 -1
- package/docs/components.md +606 -0
- package/docs/components.registry.json +1604 -0
- package/docs/for-ai-agents.md +153 -0
- package/package.json +15 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SystemTokens, i as iconSizes } from './system-
|
|
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
|
|
105
|
-
*
|
|
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
|
/**
|