@ctlyst.id/internal-ui 1.0.4-canary.9 → 1.1.0-canary.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/dist/components/alert/__stories__/alert.stories.d.ts +14 -0
  3. package/dist/components/alert/components/alert-action.d.ts +6 -0
  4. package/dist/components/alert/components/alert-close.d.ts +6 -0
  5. package/dist/components/alert/components/alert-context.d.ts +29 -0
  6. package/dist/components/alert/components/alert-description.d.ts +3 -0
  7. package/dist/components/alert/components/alert-icon.d.ts +6 -0
  8. package/dist/components/alert/components/alert-title.d.ts +3 -0
  9. package/dist/components/alert/components/alert.d.ts +25 -0
  10. package/dist/components/alert/components/icons.d.ts +3 -0
  11. package/dist/components/alert/components/index.d.ts +14 -0
  12. package/dist/components/alert/index.d.ts +1 -0
  13. package/dist/components/{base/stories/button.stories.d.ts → badge/__stories__/badge.stories.d.ts} +1 -1
  14. package/dist/components/badge/components/badge.d.ts +11 -0
  15. package/dist/components/badge/index.d.ts +2 -0
  16. package/dist/components/button/__stories__/button.stories.d.ts +14 -0
  17. package/dist/components/button/components/button.d.ts +4 -0
  18. package/dist/components/button/index.d.ts +2 -0
  19. package/dist/components/card/__stories__/card.stories.d.ts +11 -0
  20. package/dist/components/card/components/card.d.ts +8 -0
  21. package/dist/components/card/index.d.ts +2 -0
  22. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +13 -0
  23. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +12 -0
  24. package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
  25. package/dist/components/checkbox/components/checkbox.d.ts +16 -0
  26. package/dist/components/checkbox/index.d.ts +4 -0
  27. package/dist/components/chips/__stories__/chips.stories.d.ts +12 -0
  28. package/dist/components/chips/components/chips.d.ts +19 -0
  29. package/dist/components/chips/index.d.ts +2 -0
  30. package/dist/components/field/components/field.d.ts +4 -2
  31. package/dist/components/field/index.d.ts +0 -4
  32. package/dist/components/form/__stories__/input.stories.d.ts +14 -0
  33. package/dist/components/form/__stories__/textarea.stories.d.ts +10 -0
  34. package/dist/components/form/components/input-addon.d.ts +7 -0
  35. package/dist/components/{field → form}/components/input-field.d.ts +4 -1
  36. package/dist/components/{field/components/textarea-field.d.ts → form/components/textarea.d.ts} +2 -6
  37. package/dist/components/form/index.d.ts +4 -0
  38. package/dist/components/form/styles/input-field.d.ts +4 -0
  39. package/dist/components/index.d.ts +9 -0
  40. package/dist/components/layouting/components/box.d.ts +4 -0
  41. package/dist/components/layouting/components/container.d.ts +4 -0
  42. package/dist/components/layouting/components/flex.d.ts +4 -0
  43. package/dist/components/layouting/components/grid.d.ts +4 -0
  44. package/dist/components/layouting/components/stack.d.ts +4 -0
  45. package/dist/components/layouting/components/wrap.d.ts +4 -0
  46. package/dist/components/layouting/index.d.ts +12 -0
  47. package/dist/components/{base/stories/checkbox.stories.d.ts → loader/__stories__/loader.stories.d.ts} +3 -2
  48. package/dist/components/loader/components/loader.d.ts +9 -0
  49. package/dist/components/loader/index.d.ts +2 -0
  50. package/dist/components/radio/__stories__/radio-group.stories.d.ts +13 -0
  51. package/dist/components/radio/__stories__/radio.stories.d.ts +12 -0
  52. package/dist/components/radio/components/radio-group.d.ts +17 -0
  53. package/dist/components/radio/components/radio.d.ts +16 -0
  54. package/dist/components/radio/index.d.ts +4 -0
  55. package/dist/components/rating/__stories__/rating.stories.d.ts +10 -0
  56. package/dist/components/rating/components/rating.d.ts +6 -0
  57. package/dist/components/rating/index.d.ts +2 -0
  58. package/dist/components/switch/__stories__/switch.stories.d.ts +13 -0
  59. package/dist/components/switch/components/switch.d.ts +18 -0
  60. package/dist/components/switch/index.d.ts +2 -0
  61. package/dist/components/text/components/text.d.ts +4 -0
  62. package/dist/components/text/index.d.ts +2 -0
  63. package/dist/config/{foundations.stories.d.ts → __stories__/foundations.stories.d.ts} +1 -0
  64. package/dist/config/theme/components/alert.d.ts +79 -0
  65. package/dist/config/theme/components/card.d.ts +18 -0
  66. package/dist/config/theme/components/checkbox.d.ts +87 -2
  67. package/dist/config/theme/components/chips.d.ts +30 -0
  68. package/dist/config/theme/components/index.d.ts +5 -1
  69. package/dist/config/theme/components/input.d.ts +8 -21
  70. package/dist/config/theme/components/loader.d.ts +85 -0
  71. package/dist/config/theme/components/radio.d.ts +98 -2
  72. package/dist/config/theme/components/switch.d.ts +43 -9
  73. package/dist/config/theme/components/textarea.d.ts +54 -2
  74. package/dist/config/theme/foundations/index.d.ts +3 -2
  75. package/dist/config/theme/foundations/shadows.d.ts +15 -0
  76. package/dist/config/theme/foundations/typography.d.ts +25 -7
  77. package/dist/config/theme/themeConfiguration.d.ts +4 -2
  78. package/dist/internal-ui.cjs.development.js +1411 -377
  79. package/dist/internal-ui.cjs.development.js.map +1 -1
  80. package/dist/internal-ui.cjs.production.min.js +10 -10
  81. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  82. package/dist/internal-ui.esm.js +1413 -395
  83. package/dist/internal-ui.esm.js.map +1 -1
  84. package/dist/provider/{provider.d.ts → components/provider.d.ts} +1 -1
  85. package/dist/provider/index.d.ts +2 -2
  86. package/package.json +12 -11
  87. package/dist/components/base/stories/input.stories.d.ts +0 -16
  88. package/dist/components/base/stories/radio.stories.d.ts +0 -15
  89. /package/dist/components/base/{stories → __stories__}/switch.stories.d.ts +0 -0
  90. /package/dist/components/breadcrumb/{components/BreadCrumb.stories.d.ts → __stories__/breadcrumb.stories.d.ts} +0 -0
  91. /package/dist/components/data-table/{stories/data-table.stories.d.ts → __stories__/datatable.stories.d.ts} +0 -0
  92. /package/dist/components/datepicker/{components → __stories__}/datepicker.stories.d.ts +0 -0
  93. /package/dist/components/header/{stories → __stories__}/header.stories.d.ts +0 -0
  94. /package/dist/components/modal/{stories → __stories__}/modal.stories.d.ts +0 -0
  95. /package/dist/components/navigation/{stories → __stories__}/navigation.stories.d.ts +0 -0
  96. /package/dist/components/pagination/{stories → __stories__}/pagination.stories.d.ts +0 -0
  97. /package/dist/components/select/{stories → __stories__}/select.stories.d.ts +0 -0
  98. /package/dist/components/tabs/{stories → __stories__}/tabs.stories.d.ts +0 -0
  99. /package/dist/components/uploader/{stories → __stories__}/uploader.stories.d.ts +0 -0
  100. /package/dist/provider/{provider.stories.d.ts → __stories__/provider.stories.d.ts} +0 -0
@@ -20,6 +20,11 @@ declare const lineHeights: {
20
20
  short: number;
21
21
  base: number;
22
22
  tall: number;
23
+ 64: string;
24
+ 56: string;
25
+ 48: string;
26
+ 40: string;
27
+ 36: string;
23
28
  34: string;
24
29
  32: string;
25
30
  30: string;
@@ -33,6 +38,14 @@ declare const lineHeights: {
33
38
  14: string;
34
39
  12: string;
35
40
  };
41
+ declare const letterSpacings: {
42
+ tighter: string;
43
+ tight: string;
44
+ normal: string;
45
+ wide: string;
46
+ wider: string;
47
+ widest: string;
48
+ };
36
49
  declare const fontSizes: {
37
50
  heading: {
38
51
  1: string;
@@ -67,37 +80,37 @@ declare const textStyles: {
67
80
  heading: {
68
81
  1: {
69
82
  fontSize: string;
70
- fontWeight: string;
83
+ fontWeight: number;
71
84
  lineHeight: string;
72
85
  letterSpacing: string;
73
86
  };
74
87
  2: {
75
88
  fontSize: string;
76
- fontWeight: string;
89
+ fontWeight: number;
77
90
  lineHeight: string;
78
91
  letterSpacing: string;
79
92
  };
80
93
  3: {
81
94
  fontSize: string;
82
- fontWeight: string;
95
+ fontWeight: number;
83
96
  lineHeight: string;
84
97
  letterSpacing: string;
85
98
  };
86
99
  4: {
87
100
  fontSize: string;
88
- fontWeight: string;
101
+ fontWeight: number;
89
102
  lineHeight: string;
90
103
  letterSpacing: string;
91
104
  };
92
105
  5: {
93
106
  fontSize: string;
94
- fontWeight: string;
107
+ fontWeight: number;
95
108
  lineHeight: string;
96
109
  letterSpacing: string;
97
110
  };
98
111
  6: {
99
112
  fontSize: string;
100
- fontWeight: string;
113
+ fontWeight: number;
101
114
  lineHeight: string;
102
115
  letterSpacing: string;
103
116
  };
@@ -105,26 +118,31 @@ declare const textStyles: {
105
118
  text: {
106
119
  xl: {
107
120
  fontSize: string;
121
+ fontWeight: number;
108
122
  lineHeight: string;
109
123
  letterSpacing: string;
110
124
  };
111
125
  lg: {
112
126
  fontSize: string;
127
+ fontWeight: number;
113
128
  lineHeight: string;
114
129
  letterSpacing: string;
115
130
  };
116
131
  md: {
117
132
  fontSize: string;
133
+ fontWeight: number;
118
134
  lineHeight: string;
119
135
  letterSpacing: string;
120
136
  };
121
137
  sm: {
122
138
  fontSize: string;
139
+ fontWeight: number;
123
140
  lineHeight: string;
124
141
  letterSpacing: string;
125
142
  };
126
143
  xs: {
127
144
  fontSize: string;
145
+ fontWeight: number;
128
146
  lineHeight: string;
129
147
  letterSpacing: string;
130
148
  };
@@ -170,4 +188,4 @@ declare const textStyles: {
170
188
  };
171
189
  };
172
190
  };
173
- export { fonts, fontSizes, fontWeights, lineHeights, textStyles };
191
+ export { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };
@@ -1,4 +1,6 @@
1
+ import * as foundations from './foundations';
1
2
  declare const theme: Record<string, any>;
2
3
  declare type Theme = typeof theme;
3
- export type { Theme };
4
- export { theme };
4
+ declare type Foundations = typeof foundations;
5
+ export type { Foundations, Theme };
6
+ export { foundations, theme };