@warp-ds/css 1.1.0-next.2 → 1.1.0-next.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.
@@ -282,6 +282,8 @@ export namespace button {
282
282
  export const linkAsButton: string;
283
283
  const a11y_3: string;
284
284
  export { a11y_3 as a11y };
285
+ export const fullWidth: string;
286
+ export const contentWidth: string;
285
287
  }
286
288
  export namespace buttonGroup {
287
289
  const wrapper_3: string;
@@ -238,7 +238,7 @@ export const expandable = {
238
238
  titleType: 'h4',
239
239
  };
240
240
 
241
- const buttonDefaultStyling = 'font-bold max-w-max focusable justify-center transition-colors ease-in-out';
241
+ const buttonDefaultStyling = 'font-bold focusable justify-center transition-colors ease-in-out';
242
242
 
243
243
  const buttonColors = {
244
244
  primary: 'i-text-$color-button-primary-text hover:i-text-$color-button-primary-text i-bg-$color-button-primary-background hover:i-bg-$color-button-primary-background-hover active:i-bg-$color-button-primary-background-active',
@@ -261,7 +261,7 @@ const buttonTypes = {
261
261
  negative: `border-0 rounded-8 ${buttonDefaultStyling}`,
262
262
  pill:
263
263
  `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${buttonDefaultStyling}`,
264
- link: `max-w-max bg-transparent focusable ease-in-out inline active:underline hover:underline ${buttonColors.link}`,
264
+ link: `bg-transparent focusable ease-in-out inline active:underline hover:underline ${buttonColors.link}`,
265
265
  };
266
266
 
267
267
  const buttonSizes = {
@@ -289,7 +289,7 @@ const buttonVariants = {
289
289
  utilityQuiet: `border-0 rounded-4 ${buttonDefaultStyling}`,
290
290
  negativeQuiet: `border-0 rounded-8 ${buttonDefaultStyling}`,
291
291
  isDisabled:
292
- `font-bold max-w-max justify-center transition-colors ease-in-out cursor-default pointer-events-none ${buttonColors.disabled}`, // .button:disabled, .button--is-disabled
292
+ `font-bold justify-center transition-colors ease-in-out cursor-default pointer-events-none ${buttonColors.disabled}`, // .button:disabled, .button--is-disabled
293
293
  };
294
294
 
295
295
  export const button = {
@@ -363,6 +363,8 @@ export const button = {
363
363
  linkSmall: `${buttonSizes.linkSmall} ${buttonTextSizes.xsmall} ${buttonTypes.link}`,
364
364
  linkAsButton: 'inline-block hover:no-underline',
365
365
  a11y: 'sr-only',
366
+ fullWidth: "w-full max-w-full",
367
+ contentWidth: "max-w-max",
366
368
  };
367
369
 
368
370
  export const buttonGroup = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@warp-ds/css",
3
3
  "repository": "git@github.com:warp-ds/css.git",
4
- "version": "1.1.0-next.2",
4
+ "version": "1.1.0-next.4",
5
5
  "scripts": {
6
6
  "build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc",
7
7
  "commit": "cz",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@warp-ds/fonts": "1.1.0",
43
43
  "@warp-ds/tokenizer": "^0.0.2",
44
- "@warp-ds/uno": "^1.0.0"
44
+ "@warp-ds/uno": "^1.1.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eik/cli": "^2.0.22",