@vinyasa/tokens 1.0.22 → 1.0.23

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.
@@ -473,6 +473,7 @@ const grid = {
473
473
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
474
474
  const dynamic_namespaceObject = require("@vanilla-extract/dynamic");
475
475
  const external_react_namespaceObject = require("react");
476
+ var resetScope = '_1k07u5u0';
476
477
  function VinyasaProvider_define_property(obj, key, value) {
477
478
  if (key in obj) Object.defineProperty(obj, key, {
478
479
  value: value,
@@ -520,6 +521,7 @@ const VinyasaProvider = ({ theme, colorScheme = 'light', contrast = 'normal', de
520
521
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ThemeContext.Provider, {
521
522
  value: resolvedTheme,
522
523
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
524
+ className: resetScope,
523
525
  style: style,
524
526
  "data-vinyasa-color-scheme": colorScheme,
525
527
  "data-vinyasa-contrast": contrast,
@@ -0,0 +1,4 @@
1
+ ._1k07u5u0, ._1k07u5u0 * {
2
+ box-sizing: border-box;
3
+ }
4
+
@@ -0,0 +1,4 @@
1
+ ._1k07u5u0, ._1k07u5u0 * {
2
+ box-sizing: border-box;
3
+ }
4
+
package/dist/esm/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "./index.css";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { assignInlineVars } from "@vanilla-extract/dynamic";
3
4
  import { createContext, useContext, useMemo } from "react";
@@ -393,6 +394,7 @@ const grid = {
393
394
  columns: 12,
394
395
  containerMaxWidth: '1280px'
395
396
  };
397
+ var resetScope = '_1k07u5u0';
396
398
  const ThemeContext = /*#__PURE__*/ createContext(defaultTheme);
397
399
  const useVinyasaTheme = ()=>useContext(ThemeContext);
398
400
  const VinyasaProvider = ({ theme, colorScheme = 'light', contrast = 'normal', density = 'comfortable', children })=>{
@@ -422,6 +424,7 @@ const VinyasaProvider = ({ theme, colorScheme = 'light', contrast = 'normal', de
422
424
  return /*#__PURE__*/ jsx(ThemeContext.Provider, {
423
425
  value: resolvedTheme,
424
426
  children: /*#__PURE__*/ jsx("div", {
427
+ className: resetScope,
425
428
  style: style,
426
429
  "data-vinyasa-color-scheme": colorScheme,
427
430
  "data-vinyasa-contrast": contrast,
@@ -0,0 +1 @@
1
+ export declare const resetScope: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vinyasa/tokens",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [