@hug/hospitality 1.0.0-alpha.2 → 1.0.0-alpha.3
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/fesm2022/tokens.mjs +30 -1
- package/fesm2022/tokens.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens/tokens.css +10 -0
package/fesm2022/tokens.mjs
CHANGED
|
@@ -5130,11 +5130,40 @@ var spacing = {
|
|
|
5130
5130
|
}
|
|
5131
5131
|
]
|
|
5132
5132
|
};
|
|
5133
|
+
var stateLayers = {
|
|
5134
|
+
references: [
|
|
5135
|
+
{
|
|
5136
|
+
id: "VariableID:62969:4636",
|
|
5137
|
+
name: "hy-state-layer-small",
|
|
5138
|
+
type: "FLOAT",
|
|
5139
|
+
value: "8%"
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
id: "VariableID:62969:4637",
|
|
5143
|
+
name: "hy-state-layer-medium",
|
|
5144
|
+
type: "FLOAT",
|
|
5145
|
+
value: "10%"
|
|
5146
|
+
},
|
|
5147
|
+
{
|
|
5148
|
+
id: "VariableID:62969:4638",
|
|
5149
|
+
name: "hy-state-layer-large",
|
|
5150
|
+
type: "FLOAT",
|
|
5151
|
+
value: "16%"
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
id: "VariableID:62969:4639",
|
|
5155
|
+
name: "hy-state-layer-x-large",
|
|
5156
|
+
type: "FLOAT",
|
|
5157
|
+
value: "38%"
|
|
5158
|
+
}
|
|
5159
|
+
]
|
|
5160
|
+
};
|
|
5133
5161
|
var rawTokens = {
|
|
5134
5162
|
colors: colors,
|
|
5135
5163
|
typographies: typographies,
|
|
5136
5164
|
radius: radius,
|
|
5137
|
-
spacing: spacing
|
|
5165
|
+
spacing: spacing,
|
|
5166
|
+
stateLayers: stateLayers
|
|
5138
5167
|
};
|
|
5139
5168
|
|
|
5140
5169
|
const tokens = rawTokens;
|
package/fesm2022/tokens.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.mjs","sources":["../../tokens/index.ts","../../tokens/tokens.ts"],"sourcesContent":["import rawTokens from './tokens.json';\n\nexport interface Token {\n id: string;\n name: string;\n type: string;\n value: string | number;\n}\n\nexport interface TokenSystem {\n id?: string;\n name: string;\n type: string;\n reference: Token[];\n _referenceValue:\n | string\n | {\n weight: number;\n size: number;\n lineHeight: number;\n font: string;\n };\n}\n\nexport interface ReferencesTokens {\n references: Token[];\n}\n\nexport interface Tokens extends ReferencesTokens {\n systems: {\n light: TokenSystem[];\n dark: TokenSystem[];\n } | TokenSystem[];\n}\n\nconst tokens: {\n colors: Tokens;\n typographies: Tokens;\n radius: ReferencesTokens;\n spacing: ReferencesTokens;\n} = rawTokens;\n\nexport { tokens };\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.mjs","sources":["../../tokens/index.ts","../../tokens/tokens.ts"],"sourcesContent":["import rawTokens from './tokens.json';\n\nexport interface Token {\n id: string;\n name: string;\n type: string;\n value: string | number;\n}\n\nexport interface TokenSystem {\n id?: string;\n name: string;\n type: string;\n reference: Token[];\n _referenceValue:\n | string\n | {\n weight: number;\n size: number;\n lineHeight: number;\n font: string;\n };\n}\n\nexport interface ReferencesTokens {\n references: Token[];\n}\n\nexport interface Tokens extends ReferencesTokens {\n systems: {\n light: TokenSystem[];\n dark: TokenSystem[];\n } | TokenSystem[];\n}\n\nconst tokens: {\n colors: Tokens;\n typographies: Tokens;\n radius: ReferencesTokens;\n spacing: ReferencesTokens;\n} = rawTokens;\n\nexport { tokens };\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@@ -876,4 +876,14 @@
|
|
|
876
876
|
--hy-spacing-small: 8px;
|
|
877
877
|
--hy-spacing-x-small: 4px;
|
|
878
878
|
--hy-spacing-xx-small: 2px;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* ==========================================================================
|
|
882
|
+
* STATE LAYERS TOKENS
|
|
883
|
+
* ==========================================================================
|
|
884
|
+
*/
|
|
885
|
+
--hy-state-layer-small: 8%;
|
|
886
|
+
--hy-state-layer-medium: 10%;
|
|
887
|
+
--hy-state-layer-large: 16%;
|
|
888
|
+
--hy-state-layer-x-large: 38%;
|
|
879
889
|
}
|