@trackunit/css-tailwind 0.0.18 → 0.0.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/css-tailwind",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "main": "./index.cjs",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -153,17 +153,63 @@ var import_plugin2 = __toESM(require_plugin());
153
153
  // libs/css/component-tokens/src/component-tokens/ComponentTokenDefinition.ts
154
154
  var AsComponentTokenDefinition = (designTokens) => designTokens;
155
155
 
156
+ // libs/css/component-tokens/src/component-tokens/components/Button.tokens.ts
157
+ var ButtonTokenDefinition = AsComponentTokenDefinition({
158
+ DEFAULT: {
159
+ "secondary-color": { backgroundColor: "rgb(var(--color-secondary-200))", color: "rgb(var(--color-secondary-600))" },
160
+ border: { borderRadius: "var(--border-radius-lg)" },
161
+ height: { height: "auto" },
162
+ width: { width: "auto", minWidth: "auto" }
163
+ },
164
+ "theme-marketing": {
165
+ "secondary-color": { backgroundColor: "rgb(var(--color-secondary-600))", color: "rgb(var(--color-secondary-50))" },
166
+ border: { borderRadius: "50px" },
167
+ height: { height: "55px" },
168
+ width: { width: "min-content", minWidth: "158px" }
169
+ }
170
+ });
171
+
156
172
  // libs/css/component-tokens/src/component-tokens/components/Card.tokens.ts
157
173
  var CardTokenDefinition = AsComponentTokenDefinition({
158
174
  DEFAULT: {
159
175
  border: { borderColor: "rgb(var(--color-slate-200))", borderRadius: "var(--border-radius-DEFAULT)" },
160
- shadow: { boxShadow: "var(--box-shadow-DEFAULT)" }
176
+ "popover-border": { borderRadius: "var(--border-radius-DEFAULT)" },
177
+ shadow: { boxShadow: "var(--box-shadow-DEFAULT)" },
178
+ spacing: { gap: "var(--spacing-3)", padding: "var(--spacing-3)" },
179
+ "spacing-sm": { gap: "var(--spacing-4)", padding: "var(--spacing-4)" },
180
+ "spacing-md": { gap: "var(--spacing-4)", padding: "var(--spacing-6)" }
161
181
  },
162
182
  "theme-marketing": {
163
183
  border: { borderColor: "rgba(0, 0, 0, 0)", borderRadius: "2rem" },
164
- shadow: { boxShadow: "0px 20px 48px rgba(73, 55, 54, 0.1)" }
184
+ "popover-border": { borderRadius: "1rem" },
185
+ shadow: { boxShadow: "0px 20px 48px rgba(73, 55, 54, 0.1)" },
186
+ spacing: { gap: "var(--spacing-1)", padding: "var(--spacing-1)" },
187
+ "spacing-sm": { gap: "var(--spacing-1)", padding: "var(--spacing-1)" },
188
+ "spacing-md": { gap: "var(--spacing-1)", padding: "var(--spacing-1)" }
189
+ }
190
+ });
191
+
192
+ // libs/css/component-tokens/src/component-tokens/components/Popover/Popover.tokens.ts
193
+ var PopoverTokenDefinition = AsComponentTokenDefinition({
194
+ DEFAULT: {
195
+ border: { borderRadius: "var(--border-radius-DEFAULT)" }
196
+ },
197
+ "theme-marketing": {
198
+ border: { borderRadius: "1rem" }
199
+ }
200
+ });
201
+ var Popover_tokens_default = PopoverTokenDefinition;
202
+
203
+ // libs/css/component-tokens/src/component-tokens/components/Popover/PopoverListItem.tokens.ts
204
+ var PopoverListItemTokenDefinition = AsComponentTokenDefinition({
205
+ DEFAULT: {
206
+ border: { borderRadius: "var(--border-radius-DEFAULT)" }
207
+ },
208
+ "theme-marketing": {
209
+ border: { borderRadius: "1rem" }
165
210
  }
166
211
  });
212
+ var PopoverListItem_tokens_default = PopoverListItemTokenDefinition;
167
213
 
168
214
  // libs/css/component-tokens/src/component-tokens/components/Search.tokens.ts
169
215
  var SearchTokenDefinition = AsComponentTokenDefinition({
@@ -235,25 +281,13 @@ var SearchTokenDefinition = AsComponentTokenDefinition({
235
281
  }
236
282
  });
237
283
 
238
- // libs/css/component-tokens/src/component-tokens/components/Button.tokens.ts
239
- var ButtonTokenDefinition = AsComponentTokenDefinition({
240
- DEFAULT: {
241
- border: { borderRadius: "var(--border-radius-lg)" },
242
- height: { height: "min-content", maxHeight: "32px" },
243
- width: { width: "min-content", minWidth: "min-content" }
244
- },
245
- "theme-marketing": {
246
- border: { borderRadius: "50px" },
247
- height: { height: "55px", maxHeight: "" },
248
- width: { width: "min-content", minWidth: "158px" }
249
- }
250
- });
251
-
252
284
  // libs/css/component-tokens/src/component-tokens/ComponentTokens.ts
253
285
  var componentTokenDefinitions = {
254
286
  card: CardTokenDefinition,
255
287
  button: ButtonTokenDefinition,
256
- search: SearchTokenDefinition
288
+ search: SearchTokenDefinition,
289
+ popover: Popover_tokens_default,
290
+ popoverListItem: PopoverListItem_tokens_default
257
291
  };
258
292
 
259
293
  // libs/css/component-tokens/src/component-tokens/ComponentTokenVariablesByThemeName.ts
@@ -650,8 +684,12 @@ var animations = {
650
684
  animation: {
651
685
  copy: "copy 1s 1",
652
686
  "fade-out-slow": "fadeOut 3s ease-in-out forwards",
653
- "fade-in-fast": "fadeIn 0.3s ease-in-out forwards",
654
- "fade-out-fast": "fadeOut 0.3s ease-in-out forwards",
687
+ "fade-in-fast": "fadeIn 0.2s ease-in-out forwards",
688
+ "fade-out-fast": "fadeOut 0.2s ease-in-out forwards",
689
+ "slide-in-left": "slideInLeft 0.2s ease-in-out forwards",
690
+ "slide-in-right": "slideInRight 0.2s ease-in-out forwards",
691
+ "slide-in-top": "slideInTop 0.2s ease-in-out forwards",
692
+ "slide-in-bottom": "slideInBottom 0.2s ease-in-out forwards",
655
693
  "ping-sm": "pingSm 1s cubic-bezier(0, 0, 0.2, 1) infinite"
656
694
  },
657
695
  keyframes: {
@@ -670,6 +708,22 @@ var animations = {
670
708
  "0%": { opacity: "0" },
671
709
  "100%": { opacity: "1" }
672
710
  },
711
+ slideInLeft: {
712
+ "0%": { transform: "translate(-100%)" },
713
+ "100%": { transform: "translate(0%)" }
714
+ },
715
+ slideInRight: {
716
+ "0%": { transform: "translate(100%)" },
717
+ "100%": { transform: "translate(0%)" }
718
+ },
719
+ slideInBottom: {
720
+ "0%": { transform: "translate(0, 100%)" },
721
+ "100%": { transform: "translate(0, 0%)" }
722
+ },
723
+ slideInTop: {
724
+ "0%": { transform: "translate(0, -100%)" },
725
+ "100%": { transform: "translate(0, 0%)" }
726
+ },
673
727
  pingSm: {
674
728
  "75%, 100%": {
675
729
  transform: "scale(1.5)",