@lawkit/ui 0.1.2 → 0.1.4

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 (39) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +1532 -1462
  3. package/dist/tokens/src/contracts/theme-contract.css.d.ts +1 -0
  4. package/dist/tokens/src/semantic/color-roles.d.ts +362 -362
  5. package/dist/tokens/src/themes/light-theme.css.d.ts +1 -0
  6. package/dist/ui-v3/src/components/Alert/Alert.css.d.ts +4 -4
  7. package/dist/ui-v3/src/components/Avatar/Avatar.css.d.ts +1 -1
  8. package/dist/ui-v3/src/components/ButtonGroup/ButtonGroup.css.d.ts +5 -5
  9. package/dist/ui-v3/src/components/ButtonTab/ButtonTab.css.d.ts +3 -3
  10. package/dist/ui-v3/src/components/Card/Card.css.d.ts +1 -1
  11. package/dist/ui-v3/src/components/ChartTooltip/ChartTooltip.css.d.ts +4 -4
  12. package/dist/ui-v3/src/components/Checkbox/Checkbox.css.d.ts +2 -2
  13. package/dist/ui-v3/src/components/ChipsNavigation/ChipsNavigation.css.d.ts +2 -2
  14. package/dist/ui-v3/src/components/Collapse/Collapse.css.d.ts +3 -3
  15. package/dist/ui-v3/src/components/DataTable/DataTable.css.d.ts +1 -1
  16. package/dist/ui-v3/src/components/DataTable/index.d.ts +2 -2
  17. package/dist/ui-v3/src/components/DatePicker/DatePicker.css.d.ts +12 -12
  18. package/dist/ui-v3/src/components/Dropdown/Dropdown.css.d.ts +5 -5
  19. package/dist/ui-v3/src/components/FileUpload/FileUpload.css.d.ts +1 -1
  20. package/dist/ui-v3/src/components/Icon/Icon.css.d.ts +12 -0
  21. package/dist/ui-v3/src/components/Icon/index.d.ts +4 -0
  22. package/dist/ui-v3/src/components/Icon/registry.d.ts +11 -0
  23. package/dist/ui-v3/src/components/Icon/types.d.ts +10 -0
  24. package/dist/ui-v3/src/components/IconButtonGroup/IconButtonGroup.css.d.ts +5 -5
  25. package/dist/ui-v3/src/components/Input/Input.css.d.ts +9 -9
  26. package/dist/ui-v3/src/components/ListGroup/ListGroup.css.d.ts +2 -2
  27. package/dist/ui-v3/src/components/NavigationTab/NavigationTab.css.d.ts +5 -5
  28. package/dist/ui-v3/src/components/NumberInput/NumberInput.css.d.ts +1 -1
  29. package/dist/ui-v3/src/components/Pagination/Pagination.css.d.ts +3 -3
  30. package/dist/ui-v3/src/components/Progress/Progress.css.d.ts +4 -4
  31. package/dist/ui-v3/src/components/Spinner/Spinner.css.d.ts +2 -2
  32. package/dist/ui-v3/src/components/Switch/Switch.css.d.ts +1 -1
  33. package/dist/ui-v3/src/components/Tabs/Tabs.css.d.ts +6 -6
  34. package/dist/ui-v3/src/components/Toast/Toast.css.d.ts +3 -3
  35. package/dist/ui-v3/src/components/TreeView/TreeView.css.d.ts +3 -3
  36. package/dist/ui-v3/src/components/Widget/Widget.css.d.ts +2 -2
  37. package/dist/ui-v3/src/foundations/field/field.css.d.ts +8 -8
  38. package/dist/ui-v3/src/index.d.ts +3 -1
  39. package/package.json +1 -1
@@ -6,7 +6,7 @@ export declare const fieldRequiredMark: string;
6
6
  export declare const fieldHelperText: import('@vanilla-extract/recipes').RuntimeFn<{
7
7
  tone: {
8
8
  default: {
9
- color: string;
9
+ color: `var(--${string})`;
10
10
  };
11
11
  success: {
12
12
  color: "#006d38";
@@ -29,25 +29,25 @@ export declare const fieldControlShell: import('@vanilla-extract/recipes').Runti
29
29
  tone: {
30
30
  default: {};
31
31
  success: {
32
- borderColor: "#28c76f";
32
+ borderColor: string;
33
33
  selectors: {
34
34
  "&:hover": {
35
- borderColor: "#28c76f";
35
+ borderColor: string;
36
36
  };
37
37
  "&:focus-within": {
38
- borderColor: "#28c76f";
38
+ borderColor: string;
39
39
  boxShadow: "0 0 0 3px rgba(39, 194, 129, 0.12)";
40
40
  };
41
41
  };
42
42
  };
43
43
  danger: {
44
- borderColor: string;
44
+ borderColor: `var(--${string})`;
45
45
  selectors: {
46
46
  "&:hover": {
47
- borderColor: string;
47
+ borderColor: `var(--${string})`;
48
48
  };
49
49
  "&:focus-within": {
50
- borderColor: string;
50
+ borderColor: `var(--${string})`;
51
51
  boxShadow: "0 0 0 3px rgba(234, 59, 59, 0.12)";
52
52
  };
53
53
  };
@@ -55,7 +55,7 @@ export declare const fieldControlShell: import('@vanilla-extract/recipes').Runti
55
55
  };
56
56
  disabled: {
57
57
  true: {
58
- backgroundColor: string;
58
+ backgroundColor: `var(--${string})`;
59
59
  borderColor: "#9ea7b8";
60
60
  cursor: "not-allowed";
61
61
  selectors: {
@@ -65,13 +65,15 @@ export type { AvatarProps, AvatarGroupProps, AvatarSize, AvatarStatus, AvatarCol
65
65
  export { Widget, StatCell, StatGrid, QuickMenuItem, ScheduleItem, } from './components/Widget';
66
66
  export type { WidgetProps, StatCellProps, StatGridProps, QuickMenuItemProps, ScheduleItemProps, StatValueColor, } from './components/Widget';
67
67
  export { DataTable } from './components/DataTable';
68
- export type { DataTableProps, ColumnDef, RowSelectionState, SortingState, } from './components/DataTable';
68
+ export type * from './components/DataTable';
69
69
  export { Mention } from './components/Mention';
70
70
  export type { MentionProps } from './components/Mention';
71
71
  export { Skeleton } from './components/Skeleton';
72
72
  export type { SkeletonProps, SkeletonVariant, SkeletonContentProps, } from './components/Skeleton';
73
73
  export { Spinner } from './components/Spinner';
74
74
  export type { SpinnerProps, SpinnerSize, SpinnerColor, } from './components/Spinner';
75
+ export { Icon } from './components/Icon';
76
+ export type { IconName, IconProps, IconSize } from './components/Icon';
75
77
  export { TreeView } from './components/TreeView';
76
78
  export type { TreeViewProps, TreeNode, TreeNodeColumn, TreeViewSize, } from './components/TreeView';
77
79
  export { sprinkles } from './styles/sprinkles.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawkit/ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",