@shuriken-ui/tailwind 3.0.2 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ShurikenUIConfig } from './shared/tailwind.5bb8e37e.cjs';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.5bb8e37e.cjs';
1
+ import { S as ShurikenUIConfig } from './shared/tailwind.e5cd79f7.cjs';
2
+ export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.e5cd79f7.cjs';
3
3
  import 'tailwindcss/types/config';
4
4
  import 'tailwindcss';
5
5
 
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ShurikenUIConfig } from './shared/tailwind.5bb8e37e.mjs';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.5bb8e37e.mjs';
1
+ import { S as ShurikenUIConfig } from './shared/tailwind.e5cd79f7.mjs';
2
+ export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.e5cd79f7.mjs';
3
3
  import 'tailwindcss/types/config';
4
4
  import 'tailwindcss';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ShurikenUIConfig } from './shared/tailwind.5bb8e37e.js';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.5bb8e37e.js';
1
+ import { S as ShurikenUIConfig } from './shared/tailwind.e5cd79f7.js';
2
+ export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.e5cd79f7.js';
3
3
  import 'tailwindcss/types/config';
4
4
  import 'tailwindcss';
5
5
 
@@ -4657,6 +4657,19 @@ const defaultConfig$J = {
4657
4657
  icon: {
4658
4658
  size: "5"
4659
4659
  }
4660
+ },
4661
+ xl: {
4662
+ button: {
4663
+ text: "base",
4664
+ height: "14",
4665
+ padding: {
4666
+ x: "10",
4667
+ y: "4"
4668
+ }
4669
+ },
4670
+ icon: {
4671
+ size: "5"
4672
+ }
4660
4673
  }
4661
4674
  },
4662
4675
  rounded: {
@@ -5740,6 +5753,12 @@ const button = plugin__default(({ addComponents, theme }) => {
5740
5753
  [`@apply w-${config2.size.lg.icon.size} h-${config2.size.lg.icon.size}`]: {}
5741
5754
  }
5742
5755
  },
5756
+ "&.nui-button-xl": {
5757
+ [`@apply h-${config2.size.xl.button.height} px-${config2.size.xl.button.padding.x} py-${config2.size.xl.button.padding.y} text-${config2.size.xl.button.text}`]: {},
5758
+ ".nui-button-icon": {
5759
+ [`@apply w-${config2.size.xl.icon.size} h-${config2.size.xl.icon.size}`]: {}
5760
+ }
5761
+ },
5743
5762
  // #endregion
5744
5763
  // #region Rounded
5745
5764
  "&.nui-button-rounded-sm": {
@@ -14123,7 +14142,7 @@ const defaultConfig$k = {
14123
14142
  }
14124
14143
  },
14125
14144
  link: {
14126
- padding: "1",
14145
+ padding: "4",
14127
14146
  size: "10",
14128
14147
  font: {
14129
14148
  family: "sans",
@@ -14283,7 +14302,7 @@ const pagination = plugin__default(({ addComponents, theme }) => {
14283
14302
  //Buttons:button
14284
14303
  ".nui-pagination-button": {
14285
14304
  //Base
14286
- "@apply flex h-10 w-full items-center justify-center md:w-10": {},
14305
+ "@apply nui-focus flex h-10 w-full items-center justify-center md:w-10": {},
14287
14306
  //Font
14288
14307
  [`@apply font-${config2.buttons.button.font.family} text-${config2.buttons.button.font.size}`]: {},
14289
14308
  //Color
@@ -14307,9 +14326,9 @@ const pagination = plugin__default(({ addComponents, theme }) => {
14307
14326
  //Pagination:link
14308
14327
  ".nui-pagination-link": {
14309
14328
  //Base
14310
- "@apply flex items-center justify-center mb-4 md:mb-0 inline-flex flex-wrap gap-2 md:gap-1": {},
14329
+ "@apply nui-focus flex items-center justify-center mb-0 inline-flex flex-wrap gap-2 md:gap-1": {},
14311
14330
  //Size
14312
- [`@apply h-${config2.link.size} w-${config2.link.size} p-${config2.link.padding}`]: {},
14331
+ [`@apply h-${config2.link.size} px-${config2.link.padding}`]: {},
14313
14332
  //Font
14314
14333
  [`@apply font-${config2.link.font.family} text-${config2.link.font.size}`]: {},
14315
14334
  //Background
@@ -14372,7 +14391,7 @@ const pagination = plugin__default(({ addComponents, theme }) => {
14372
14391
  //Pagination:ellipsis
14373
14392
  ".nui-pagination-ellipsis": {
14374
14393
  //Base
14375
- [`@apply flex h-${config2.ellipsis.size} w-${config2.ellipsis.size} items-center justify-center`]: {},
14394
+ [`@apply select-none flex h-${config2.ellipsis.size} w-${config2.ellipsis.size} items-center justify-center`]: {},
14376
14395
  //Font
14377
14396
  [`@apply font-${config2.ellipsis.font.family} text-${config2.ellipsis.font.size}`]: {},
14378
14397
  //Color
@@ -4651,6 +4651,19 @@ const defaultConfig$J = {
4651
4651
  icon: {
4652
4652
  size: "5"
4653
4653
  }
4654
+ },
4655
+ xl: {
4656
+ button: {
4657
+ text: "base",
4658
+ height: "14",
4659
+ padding: {
4660
+ x: "10",
4661
+ y: "4"
4662
+ }
4663
+ },
4664
+ icon: {
4665
+ size: "5"
4666
+ }
4654
4667
  }
4655
4668
  },
4656
4669
  rounded: {
@@ -5734,6 +5747,12 @@ const button = plugin(({ addComponents, theme }) => {
5734
5747
  [`@apply w-${config2.size.lg.icon.size} h-${config2.size.lg.icon.size}`]: {}
5735
5748
  }
5736
5749
  },
5750
+ "&.nui-button-xl": {
5751
+ [`@apply h-${config2.size.xl.button.height} px-${config2.size.xl.button.padding.x} py-${config2.size.xl.button.padding.y} text-${config2.size.xl.button.text}`]: {},
5752
+ ".nui-button-icon": {
5753
+ [`@apply w-${config2.size.xl.icon.size} h-${config2.size.xl.icon.size}`]: {}
5754
+ }
5755
+ },
5737
5756
  // #endregion
5738
5757
  // #region Rounded
5739
5758
  "&.nui-button-rounded-sm": {
@@ -14117,7 +14136,7 @@ const defaultConfig$k = {
14117
14136
  }
14118
14137
  },
14119
14138
  link: {
14120
- padding: "1",
14139
+ padding: "4",
14121
14140
  size: "10",
14122
14141
  font: {
14123
14142
  family: "sans",
@@ -14277,7 +14296,7 @@ const pagination = plugin(({ addComponents, theme }) => {
14277
14296
  //Buttons:button
14278
14297
  ".nui-pagination-button": {
14279
14298
  //Base
14280
- "@apply flex h-10 w-full items-center justify-center md:w-10": {},
14299
+ "@apply nui-focus flex h-10 w-full items-center justify-center md:w-10": {},
14281
14300
  //Font
14282
14301
  [`@apply font-${config2.buttons.button.font.family} text-${config2.buttons.button.font.size}`]: {},
14283
14302
  //Color
@@ -14301,9 +14320,9 @@ const pagination = plugin(({ addComponents, theme }) => {
14301
14320
  //Pagination:link
14302
14321
  ".nui-pagination-link": {
14303
14322
  //Base
14304
- "@apply flex items-center justify-center mb-4 md:mb-0 inline-flex flex-wrap gap-2 md:gap-1": {},
14323
+ "@apply nui-focus flex items-center justify-center mb-0 inline-flex flex-wrap gap-2 md:gap-1": {},
14305
14324
  //Size
14306
- [`@apply h-${config2.link.size} w-${config2.link.size} p-${config2.link.padding}`]: {},
14325
+ [`@apply h-${config2.link.size} px-${config2.link.padding}`]: {},
14307
14326
  //Font
14308
14327
  [`@apply font-${config2.link.font.family} text-${config2.link.font.size}`]: {},
14309
14328
  //Background
@@ -14366,7 +14385,7 @@ const pagination = plugin(({ addComponents, theme }) => {
14366
14385
  //Pagination:ellipsis
14367
14386
  ".nui-pagination-ellipsis": {
14368
14387
  //Base
14369
- [`@apply flex h-${config2.ellipsis.size} w-${config2.ellipsis.size} items-center justify-center`]: {},
14388
+ [`@apply select-none flex h-${config2.ellipsis.size} w-${config2.ellipsis.size} items-center justify-center`]: {},
14370
14389
  //Font
14371
14390
  [`@apply font-${config2.ellipsis.font.family} text-${config2.ellipsis.font.size}`]: {},
14372
14391
  //Color
package/dist/preset.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'tailwindcss/types/config';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.5bb8e37e.cjs';
2
+ export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.e5cd79f7.cjs';
3
3
  import 'tailwindcss';
package/dist/preset.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'tailwindcss/types/config';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.5bb8e37e.mjs';
2
+ export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.e5cd79f7.mjs';
3
3
  import 'tailwindcss';
package/dist/preset.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'tailwindcss/types/config';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.5bb8e37e.js';
2
+ export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.e5cd79f7.js';
3
3
  import 'tailwindcss';
@@ -1316,6 +1316,19 @@ declare const defaultConfig$M: {
1316
1316
  size: string;
1317
1317
  };
1318
1318
  };
1319
+ xl: {
1320
+ button: {
1321
+ text: string;
1322
+ height: string;
1323
+ padding: {
1324
+ x: string;
1325
+ y: string;
1326
+ };
1327
+ };
1328
+ icon: {
1329
+ size: string;
1330
+ };
1331
+ };
1319
1332
  };
1320
1333
  rounded: {
1321
1334
  none: string;
@@ -11289,6 +11302,19 @@ declare function createPreset({ theme, plugins, }?: {
11289
11302
  size?: string | undefined;
11290
11303
  } | undefined;
11291
11304
  } | undefined;
11305
+ xl?: {
11306
+ button?: {
11307
+ text?: string | undefined;
11308
+ height?: string | undefined;
11309
+ padding?: {
11310
+ x?: string | undefined;
11311
+ y?: string | undefined;
11312
+ } | undefined;
11313
+ } | undefined;
11314
+ icon?: {
11315
+ size?: string | undefined;
11316
+ } | undefined;
11317
+ } | undefined;
11292
11318
  } | undefined;
11293
11319
  rounded?: {
11294
11320
  none?: string | undefined;
@@ -20928,6 +20954,19 @@ declare function createPreset({ theme, plugins, }?: {
20928
20954
  size?: string | undefined;
20929
20955
  } | undefined;
20930
20956
  } | undefined;
20957
+ xl?: {
20958
+ button?: {
20959
+ text?: string | undefined;
20960
+ height?: string | undefined;
20961
+ padding?: {
20962
+ x?: string | undefined;
20963
+ y?: string | undefined;
20964
+ } | undefined;
20965
+ } | undefined;
20966
+ icon?: {
20967
+ size?: string | undefined;
20968
+ } | undefined;
20969
+ } | undefined;
20931
20970
  } | undefined;
20932
20971
  rounded?: {
20933
20972
  none?: string | undefined;
@@ -30585,6 +30624,19 @@ declare const preset: {
30585
30624
  size?: string | undefined;
30586
30625
  } | undefined;
30587
30626
  } | undefined;
30627
+ xl?: {
30628
+ button?: {
30629
+ text?: string | undefined;
30630
+ height?: string | undefined;
30631
+ padding?: {
30632
+ x?: string | undefined;
30633
+ y?: string | undefined;
30634
+ } | undefined;
30635
+ } | undefined;
30636
+ icon?: {
30637
+ size?: string | undefined;
30638
+ } | undefined;
30639
+ } | undefined;
30588
30640
  } | undefined;
30589
30641
  rounded?: {
30590
30642
  none?: string | undefined;
@@ -40224,6 +40276,19 @@ declare const preset: {
40224
40276
  size?: string | undefined;
40225
40277
  } | undefined;
40226
40278
  } | undefined;
40279
+ xl?: {
40280
+ button?: {
40281
+ text?: string | undefined;
40282
+ height?: string | undefined;
40283
+ padding?: {
40284
+ x?: string | undefined;
40285
+ y?: string | undefined;
40286
+ } | undefined;
40287
+ } | undefined;
40288
+ icon?: {
40289
+ size?: string | undefined;
40290
+ } | undefined;
40291
+ } | undefined;
40227
40292
  } | undefined;
40228
40293
  rounded?: {
40229
40294
  none?: string | undefined;
@@ -1316,6 +1316,19 @@ declare const defaultConfig$M: {
1316
1316
  size: string;
1317
1317
  };
1318
1318
  };
1319
+ xl: {
1320
+ button: {
1321
+ text: string;
1322
+ height: string;
1323
+ padding: {
1324
+ x: string;
1325
+ y: string;
1326
+ };
1327
+ };
1328
+ icon: {
1329
+ size: string;
1330
+ };
1331
+ };
1319
1332
  };
1320
1333
  rounded: {
1321
1334
  none: string;
@@ -11289,6 +11302,19 @@ declare function createPreset({ theme, plugins, }?: {
11289
11302
  size?: string | undefined;
11290
11303
  } | undefined;
11291
11304
  } | undefined;
11305
+ xl?: {
11306
+ button?: {
11307
+ text?: string | undefined;
11308
+ height?: string | undefined;
11309
+ padding?: {
11310
+ x?: string | undefined;
11311
+ y?: string | undefined;
11312
+ } | undefined;
11313
+ } | undefined;
11314
+ icon?: {
11315
+ size?: string | undefined;
11316
+ } | undefined;
11317
+ } | undefined;
11292
11318
  } | undefined;
11293
11319
  rounded?: {
11294
11320
  none?: string | undefined;
@@ -20928,6 +20954,19 @@ declare function createPreset({ theme, plugins, }?: {
20928
20954
  size?: string | undefined;
20929
20955
  } | undefined;
20930
20956
  } | undefined;
20957
+ xl?: {
20958
+ button?: {
20959
+ text?: string | undefined;
20960
+ height?: string | undefined;
20961
+ padding?: {
20962
+ x?: string | undefined;
20963
+ y?: string | undefined;
20964
+ } | undefined;
20965
+ } | undefined;
20966
+ icon?: {
20967
+ size?: string | undefined;
20968
+ } | undefined;
20969
+ } | undefined;
20931
20970
  } | undefined;
20932
20971
  rounded?: {
20933
20972
  none?: string | undefined;
@@ -30585,6 +30624,19 @@ declare const preset: {
30585
30624
  size?: string | undefined;
30586
30625
  } | undefined;
30587
30626
  } | undefined;
30627
+ xl?: {
30628
+ button?: {
30629
+ text?: string | undefined;
30630
+ height?: string | undefined;
30631
+ padding?: {
30632
+ x?: string | undefined;
30633
+ y?: string | undefined;
30634
+ } | undefined;
30635
+ } | undefined;
30636
+ icon?: {
30637
+ size?: string | undefined;
30638
+ } | undefined;
30639
+ } | undefined;
30588
30640
  } | undefined;
30589
30641
  rounded?: {
30590
30642
  none?: string | undefined;
@@ -40224,6 +40276,19 @@ declare const preset: {
40224
40276
  size?: string | undefined;
40225
40277
  } | undefined;
40226
40278
  } | undefined;
40279
+ xl?: {
40280
+ button?: {
40281
+ text?: string | undefined;
40282
+ height?: string | undefined;
40283
+ padding?: {
40284
+ x?: string | undefined;
40285
+ y?: string | undefined;
40286
+ } | undefined;
40287
+ } | undefined;
40288
+ icon?: {
40289
+ size?: string | undefined;
40290
+ } | undefined;
40291
+ } | undefined;
40227
40292
  } | undefined;
40228
40293
  rounded?: {
40229
40294
  none?: string | undefined;
@@ -1316,6 +1316,19 @@ declare const defaultConfig$M: {
1316
1316
  size: string;
1317
1317
  };
1318
1318
  };
1319
+ xl: {
1320
+ button: {
1321
+ text: string;
1322
+ height: string;
1323
+ padding: {
1324
+ x: string;
1325
+ y: string;
1326
+ };
1327
+ };
1328
+ icon: {
1329
+ size: string;
1330
+ };
1331
+ };
1319
1332
  };
1320
1333
  rounded: {
1321
1334
  none: string;
@@ -11289,6 +11302,19 @@ declare function createPreset({ theme, plugins, }?: {
11289
11302
  size?: string | undefined;
11290
11303
  } | undefined;
11291
11304
  } | undefined;
11305
+ xl?: {
11306
+ button?: {
11307
+ text?: string | undefined;
11308
+ height?: string | undefined;
11309
+ padding?: {
11310
+ x?: string | undefined;
11311
+ y?: string | undefined;
11312
+ } | undefined;
11313
+ } | undefined;
11314
+ icon?: {
11315
+ size?: string | undefined;
11316
+ } | undefined;
11317
+ } | undefined;
11292
11318
  } | undefined;
11293
11319
  rounded?: {
11294
11320
  none?: string | undefined;
@@ -20928,6 +20954,19 @@ declare function createPreset({ theme, plugins, }?: {
20928
20954
  size?: string | undefined;
20929
20955
  } | undefined;
20930
20956
  } | undefined;
20957
+ xl?: {
20958
+ button?: {
20959
+ text?: string | undefined;
20960
+ height?: string | undefined;
20961
+ padding?: {
20962
+ x?: string | undefined;
20963
+ y?: string | undefined;
20964
+ } | undefined;
20965
+ } | undefined;
20966
+ icon?: {
20967
+ size?: string | undefined;
20968
+ } | undefined;
20969
+ } | undefined;
20931
20970
  } | undefined;
20932
20971
  rounded?: {
20933
20972
  none?: string | undefined;
@@ -30585,6 +30624,19 @@ declare const preset: {
30585
30624
  size?: string | undefined;
30586
30625
  } | undefined;
30587
30626
  } | undefined;
30627
+ xl?: {
30628
+ button?: {
30629
+ text?: string | undefined;
30630
+ height?: string | undefined;
30631
+ padding?: {
30632
+ x?: string | undefined;
30633
+ y?: string | undefined;
30634
+ } | undefined;
30635
+ } | undefined;
30636
+ icon?: {
30637
+ size?: string | undefined;
30638
+ } | undefined;
30639
+ } | undefined;
30588
30640
  } | undefined;
30589
30641
  rounded?: {
30590
30642
  none?: string | undefined;
@@ -40224,6 +40276,19 @@ declare const preset: {
40224
40276
  size?: string | undefined;
40225
40277
  } | undefined;
40226
40278
  } | undefined;
40279
+ xl?: {
40280
+ button?: {
40281
+ text?: string | undefined;
40282
+ height?: string | undefined;
40283
+ padding?: {
40284
+ x?: string | undefined;
40285
+ y?: string | undefined;
40286
+ } | undefined;
40287
+ } | undefined;
40288
+ icon?: {
40289
+ size?: string | undefined;
40290
+ } | undefined;
40291
+ } | undefined;
40227
40292
  } | undefined;
40228
40293
  rounded?: {
40229
40294
  none?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuriken-ui/tailwind",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "license": "MIT",
5
5
  "author": "Css Ninja <hello@cssninja.io> (https://cssninja.io)",
6
6
  "repository": "shuriken-ui/tailwind",