@nimbus-ds/styles 8.0.0-rc.1 → 8.0.0

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.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@nimbus-ds/styles"]=t():e["@nimbus-ds/styles"]=t()}(global,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>o,variables:()=>r});const o="nimbus-theme-dark_variables__1l9k5vd0";var r="nimbus-theme-dark_variables__1l9k5vd0";return t})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@nimbus-ds/styles"]=t():e["@nimbus-ds/styles"]=t()}(global,(()=>(()=>{"use strict";var e={942:()=>{}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{o.r(r),o.d(r,{default:()=>e,variables:()=>t});o(942);const e="nimbus-theme-dark_variables__1l9k5vd0";var t="nimbus-theme-dark_variables__1l9k5vd0"})(),r})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/styles",
3
- "version": "8.0.0-rc.1",
3
+ "version": "8.0.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -22,7 +22,7 @@
22
22
  "url": "https://github.com/TiendaNube/nimbus-design-system/issues"
23
23
  },
24
24
  "devDependencies": {
25
- "@nimbus-ds/tokens": "^7.0.0-rc.1",
25
+ "@nimbus-ds/tokens": "^7.0.0",
26
26
  "@nimbus-ds/webpack": "^1.1.0",
27
27
  "@types/glob": "^8",
28
28
  "@vanilla-extract/css": "^1.9.2",
@@ -32,6 +32,5 @@
32
32
  "glob": "^8.0.3",
33
33
  "rainbow-sprinkles": "^0.14.0",
34
34
  "ts-node": "^10.9.1"
35
- },
36
- "stableVersion": "7.1.0"
35
+ }
37
36
  }
@@ -1 +0,0 @@
1
- :root{--colors-primary-surface__jhrh4b0:#deeffe;--colors-primary-surfaceHighlight__jhrh4b1:#7abcf7;--colors-primary-interactive__jhrh4b2:#006bc8;--colors-primary-interactiveHover__jhrh4b3:#004e93;--colors-primary-interactivePressed__jhrh4b4:#003e74;--colors-primary-textLow__jhrh4b5:#002c53;--colors-primary-textHigh__jhrh4b6:#000e19;--colors-success-surface__jhrh4b7:#defef2;--colors-success-surfaceHighlight__jhrh4b8:#7af7c7;--colors-success-interactive__jhrh4b9:#00c87b;--colors-success-interactiveHover__jhrh4ba:#00935b;--colors-success-interactivePressed__jhrh4bb:#007447;--colors-success-textLow__jhrh4bc:#005333;--colors-success-textHigh__jhrh4bd:#001910;--colors-warning-surface__jhrh4be:#fef2de;--colors-warning-surfaceHighlight__jhrh4bf:#f7c77a;--colors-warning-interactive__jhrh4bg:#c87b00;--colors-warning-interactiveHover__jhrh4bh:#935b00;--colors-warning-interactivePressed__jhrh4bi:#744700;--colors-warning-textLow__jhrh4bj:#533300;--colors-warning-textHigh__jhrh4bk:#191000;--colors-danger-surface__jhrh4bl:#fedede;--colors-danger-surfaceHighlight__jhrh4bm:#f77a7c;--colors-danger-interactive__jhrh4bn:#c80003;--colors-danger-interactiveHover__jhrh4bo:#930002;--colors-danger-interactivePressed__jhrh4bp:#740002;--colors-danger-textLow__jhrh4bq:#530001;--colors-danger-textHigh__jhrh4br:#190000;--colors-neutral-background__jhrh4bs:#fff;--colors-neutral-surface__jhrh4bt:#fafafa;--colors-neutral-surfaceDisabled__jhrh4bu:#e7e8e9;--colors-neutral-surfaceHighlight__jhrh4bv:#cfd1d2;--colors-neutral-interactive__jhrh4bw:#b7babc;--colors-neutral-interactiveHover__jhrh4bx:#a0a3a6;--colors-neutral-interactivePressed__jhrh4by:#8a8d90;--colors-neutral-textDisabled__jhrh4bz:#5e6163;--colors-neutral-textLow__jhrh4b10:#343537;--colors-neutral-textHigh__jhrh4b11:#0a0a0a;--fontFamily-centranube__jhrh4b12:CentraNube,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif;--fontSize-body-caption__jhrh4b13:0.75rem;--fontSize-body-base__jhrh4b14:0.875rem;--fontSize-body-highlight__jhrh4b15:1rem;--fontSize-title-h1__jhrh4b16:2rem;--fontSize-title-h2__jhrh4b17:1.5rem;--fontSize-title-h3__jhrh4b18:1.25rem;--fontSize-title-h4__jhrh4b19:1.125rem;--fontSize-title-h5__jhrh4b1a:1rem;--fontSize-title-h6__jhrh4b1b:0.875rem;--fontWeight-regular__jhrh4b1c:400;--fontWeight-medium__jhrh4b1d:500;--fontWeight-bold__jhrh4b1e:700;--lineWeight-body-caption__jhrh4b1f:0.875rem;--lineWeight-body-base__jhrh4b1g:1.125rem;--lineWeight-body-highlight__jhrh4b1h:1.25rem;--lineWeight-title-h1__jhrh4b1i:2.75rem;--lineWeight-title-h2__jhrh4b1j:2rem;--lineWeight-title-h3__jhrh4b1k:1.75rem;--lineWeight-title-h4__jhrh4b1l:1.5rem;--lineWeight-title-h5__jhrh4b1m:1.25rem;--lineWeight-title-h6__jhrh4b1n:1.125rem;--shadow-level-0__jhrh4b1o:none;--shadow-level-1__jhrh4b1p:0px 0px 1px 0px #b7babc;--shadow-level-2__jhrh4b1q:0px 0px 2px 0px #cfd1d2,0px 1px 1px 0px #cfd1d2;--shadow-level-3__jhrh4b1r:0px 2px 4px 0px #cfd1d2,0px 0px 1px 0px #cfd1d2;--shadow-level-4__jhrh4b1s:0px 12px 16px 0px #cfd1d2,0px 0px 1px 0px #cfd1d2;--shadow-level-5__jhrh4b1t:0px 24px 32px 0px #cfd1d2,0px 0px 1px 0px #cfd1d2;--shape-border-radius-1__jhrh4b1u:0.25rem;--shape-border-radius-2__jhrh4b1v:0.5rem;--shape-border-radius-3__jhrh4b1w:0.75rem;--shape-border-radius-4__jhrh4b1x:1rem;--shape-border-radius-5__jhrh4b1y:1.25rem;--shape-border-radius-6__jhrh4b1z:1.5rem;--shape-border-radius-0\,5__jhrh4b20:0.125rem;--shape-border-radius-full__jhrh4b21:9999px;--shape-border-radius-base__jhrh4b22:0.375rem;--shape-border-radius-half__jhrh4b23:50%;--shape-border-width-1__jhrh4b24:0.0625rem;--shape-border-width-2__jhrh4b25:0.125rem;--shape-border-width-3__jhrh4b26:0.1875rem;--shape-border-width-4__jhrh4b27:1rem;--shape-border-width-5__jhrh4b28:0.3125rem;--spacing-1__jhrh4b29:0.25rem;--spacing-2__jhrh4b2a:0.5rem;--spacing-4__jhrh4b2b:1rem;--spacing-6__jhrh4b2c:1.5rem;--spacing-8__jhrh4b2d:2rem;--spacing-10__jhrh4b2e:2.5rem;--spacing-12__jhrh4b2f:3rem;--spacing-14__jhrh4b2g:3.5rem;--spacing-16__jhrh4b2h:4rem;--spacing-18__jhrh4b2i:4.5rem;--spacing-20__jhrh4b2j:5rem;--spacing-0\,5__jhrh4b2k:0.125rem;--sizes-1__jhrh4b2l:0.25rem;--sizes-2__jhrh4b2m:0.5rem;--sizes-3__jhrh4b2n:0.75rem;--sizes-4__jhrh4b2o:1rem;--sizes-5__jhrh4b2p:1.25rem;--sizes-6__jhrh4b2q:1.5rem;--sizes-7__jhrh4b2r:1.75rem;--sizes-8__jhrh4b2s:2rem;--sizes-9__jhrh4b2t:2.25rem;--sizes-10__jhrh4b2u:2.5rem;--sizes-11__jhrh4b2v:2.75rem;--sizes-12__jhrh4b2w:3rem;--sizes-14__jhrh4b2x:3.5rem;--sizes-16__jhrh4b2y:4rem;--sizes-18__jhrh4b2z:4.5rem;--sizes-20__jhrh4b30:5rem;--sizes-0\,5__jhrh4b31:0.125rem;--sizes-1\,5__jhrh4b32:0.375rem;--sizes-2\,5__jhrh4b33:0.625rem;--sizes-3\,5__jhrh4b34:0.875rem;--sizes-4\,5__jhrh4b35:1.125rem;--motion-speed-base__jhrh4b36:300ms;--motion-speed-fast__jhrh4b37:150ms;--motion-speed-slow__jhrh4b38:450ms;--motion-speed-slower__jhrh4b39:600ms;--breakpoint-xs__jhrh4b3a:0px;--breakpoint-md__jhrh4b3b:672px;--breakpoint-lg__jhrh4b3c:1024px;--breakpoint-xl__jhrh4b3d:1200px;--utils-focus__jhrh4b3e:0 0 0 3px #7abcf7}.nimbus-theme-dark_variables__1l9k5vd0{--colors-primary-surface__jhrh4b0:#001c34;--colors-primary-surfaceHighlight__jhrh4b1:#003e74;--colors-primary-interactive__jhrh4b2:#0f7ddc;--colors-primary-interactiveHover__jhrh4b3:#3f9bec;--colors-primary-interactivePressed__jhrh4b4:#7abcf7;--colors-primary-textLow__jhrh4b5:#bcdffd;--colors-primary-textHigh__jhrh4b6:#fff;--colors-success-surface__jhrh4b7:#003420;--colors-success-surfaceHighlight__jhrh4b8:#007447;--colors-success-interactive__jhrh4b9:#0fdc8e;--colors-success-interactiveHover__jhrh4ba:#3feca9;--colors-success-interactivePressed__jhrh4bb:#7af7c7;--colors-success-textLow__jhrh4bc:#bcfde4;--colors-success-textHigh__jhrh4bd:#fff;--colors-warning-surface__jhrh4be:#342000;--colors-warning-surfaceHighlight__jhrh4bf:#744700;--colors-warning-interactive__jhrh4bg:#dc8e0f;--colors-warning-interactiveHover__jhrh4bh:#eca93f;--colors-warning-interactivePressed__jhrh4bi:#f7c77a;--colors-warning-textLow__jhrh4bj:#fde4bc;--colors-warning-textHigh__jhrh4bk:#fff;--colors-danger-surface__jhrh4bl:#340001;--colors-danger-surfaceHighlight__jhrh4bm:#740002;--colors-danger-interactive__jhrh4bn:#dc0f13;--colors-danger-interactiveHover__jhrh4bo:#ec3f41;--colors-danger-interactivePressed__jhrh4bp:#f77a7c;--colors-danger-textLow__jhrh4bq:#fdbcbd;--colors-danger-textHigh__jhrh4br:#fff;--colors-neutral-background__jhrh4bs:#0a0a0a;--colors-neutral-surface__jhrh4bt:#1f2020;--colors-neutral-surfaceDisabled__jhrh4bu:#343537;--colors-neutral-surfaceHighlight__jhrh4bv:#494b4d;--colors-neutral-interactive__jhrh4bw:#5e6163;--colors-neutral-interactiveHover__jhrh4bx:#747779;--colors-neutral-interactivePressed__jhrh4by:#8a8d90;--colors-neutral-textDisabled__jhrh4bz:#b7babc;--colors-neutral-textLow__jhrh4b10:#e7e8e9;--colors-neutral-textHigh__jhrh4b11:#fff;--fontFamily-centranube__jhrh4b12:CentraNube,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif;--fontSize-body-caption__jhrh4b13:0.75rem;--fontSize-body-base__jhrh4b14:0.875rem;--fontSize-body-highlight__jhrh4b15:1rem;--fontSize-title-h1__jhrh4b16:2rem;--fontSize-title-h2__jhrh4b17:1.5rem;--fontSize-title-h3__jhrh4b18:1.25rem;--fontSize-title-h4__jhrh4b19:1.125rem;--fontSize-title-h5__jhrh4b1a:1rem;--fontSize-title-h6__jhrh4b1b:0.875rem;--fontWeight-regular__jhrh4b1c:400;--fontWeight-medium__jhrh4b1d:500;--fontWeight-bold__jhrh4b1e:700;--lineWeight-body-caption__jhrh4b1f:0.875rem;--lineWeight-body-base__jhrh4b1g:1.125rem;--lineWeight-body-highlight__jhrh4b1h:1.25rem;--lineWeight-title-h1__jhrh4b1i:2.75rem;--lineWeight-title-h2__jhrh4b1j:2rem;--lineWeight-title-h3__jhrh4b1k:1.75rem;--lineWeight-title-h4__jhrh4b1l:1.5rem;--lineWeight-title-h5__jhrh4b1m:1.25rem;--lineWeight-title-h6__jhrh4b1n:1.125rem;--shadow-level-0__jhrh4b1o:none;--shadow-level-1__jhrh4b1p:0px 0px 1px 0px #5e6163;--shadow-level-2__jhrh4b1q:0px 0px 2px 0px #494b4d,0px 1px 1px 0px #494b4d;--shadow-level-3__jhrh4b1r:0px 2px 4px 0px #494b4d,0px 0px 1px 0px #494b4d;--shadow-level-4__jhrh4b1s:0px 12px 16px 0px #494b4d,0px 0px 1px 0px #494b4d;--shadow-level-5__jhrh4b1t:0px 24px 32px 0px #494b4d,0px 0px 1px 0px #494b4d;--shape-border-radius-1__jhrh4b1u:0.25rem;--shape-border-radius-2__jhrh4b1v:0.5rem;--shape-border-radius-3__jhrh4b1w:0.75rem;--shape-border-radius-4__jhrh4b1x:1rem;--shape-border-radius-5__jhrh4b1y:1.25rem;--shape-border-radius-6__jhrh4b1z:1.5rem;--shape-border-radius-0\,5__jhrh4b20:0.125rem;--shape-border-radius-full__jhrh4b21:9999px;--shape-border-radius-base__jhrh4b22:0.375rem;--shape-border-radius-half__jhrh4b23:50%;--shape-border-width-1__jhrh4b24:0.0625rem;--shape-border-width-2__jhrh4b25:0.125rem;--shape-border-width-3__jhrh4b26:0.1875rem;--shape-border-width-4__jhrh4b27:1rem;--shape-border-width-5__jhrh4b28:0.3125rem;--spacing-1__jhrh4b29:0.25rem;--spacing-2__jhrh4b2a:0.5rem;--spacing-4__jhrh4b2b:1rem;--spacing-6__jhrh4b2c:1.5rem;--spacing-8__jhrh4b2d:2rem;--spacing-10__jhrh4b2e:2.5rem;--spacing-12__jhrh4b2f:3rem;--spacing-14__jhrh4b2g:3.5rem;--spacing-16__jhrh4b2h:4rem;--spacing-18__jhrh4b2i:4.5rem;--spacing-20__jhrh4b2j:5rem;--spacing-0\,5__jhrh4b2k:0.125rem;--sizes-1__jhrh4b2l:0.25rem;--sizes-2__jhrh4b2m:0.5rem;--sizes-3__jhrh4b2n:0.75rem;--sizes-4__jhrh4b2o:1rem;--sizes-5__jhrh4b2p:1.25rem;--sizes-6__jhrh4b2q:1.5rem;--sizes-7__jhrh4b2r:1.75rem;--sizes-8__jhrh4b2s:2rem;--sizes-9__jhrh4b2t:2.25rem;--sizes-10__jhrh4b2u:2.5rem;--sizes-11__jhrh4b2v:2.75rem;--sizes-12__jhrh4b2w:3rem;--sizes-14__jhrh4b2x:3.5rem;--sizes-16__jhrh4b2y:4rem;--sizes-18__jhrh4b2z:4.5rem;--sizes-20__jhrh4b30:5rem;--sizes-0\,5__jhrh4b31:0.125rem;--sizes-1\,5__jhrh4b32:0.375rem;--sizes-2\,5__jhrh4b33:0.625rem;--sizes-3\,5__jhrh4b34:0.875rem;--sizes-4\,5__jhrh4b35:1.125rem;--motion-speed-base__jhrh4b36:300ms;--motion-speed-fast__jhrh4b37:150ms;--motion-speed-slow__jhrh4b38:450ms;--motion-speed-slower__jhrh4b39:600ms;--breakpoint-xs__jhrh4b3a:0px;--breakpoint-md__jhrh4b3b:672px;--breakpoint-lg__jhrh4b3c:1024px;--breakpoint-xl__jhrh4b3d:1200px;--utils-focus__jhrh4b3e:0 0 0 3px #7abcf7}
@@ -1,11 +0,0 @@
1
- // Generated by dts-bundle-generator v7.1.0
2
-
3
- import React from 'react';
4
- import { HTMLAttributes } from 'react';
5
-
6
- export interface ThemeProviderProps extends HTMLAttributes<HTMLElement> {
7
- theme?: "dark" | "base";
8
- }
9
- export declare const ThemeProvider: React.FC<ThemeProviderProps>;
10
-
11
- export {};
@@ -1 +0,0 @@
1
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports["@nimbus-ds/styles"]=r(require("react")):e["@nimbus-ds/styles"]=r(e.react)}(global,(e=>(()=>{"use strict";var r={649:(e,r,t)=>{t.d(r,{variables:()=>o});var o="nimbus-theme-dark_variables__1l9k5vd0"},156:r=>{r.exports=e}},t={};function o(e){var a=t[e];if(void 0!==a)return a.exports;var s=t[e]={exports:{}};return r[e](s,s.exports,o),s.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{o.r(a),o.d(a,{ThemeProvider:()=>s});var e=o(156),r=o.n(e);const t={dark:o(649).variables,base:""},s=({children:e,theme:o="base",...a})=>r().createElement("div",{className:t[o],...a},e);s.displayName="ThemeProvider"})(),a})()));