@servicetitan/hammer-token 1.2.0 → 1.3.1
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +24 -0
- package/build/web/core/css-utils/utils.css +2 -1
- package/config.js +8 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.3.1 (Mon Oct 28 2024)
|
|
2
|
+
|
|
3
|
+
#### 📝 Documentation
|
|
4
|
+
|
|
5
|
+
- HOTFIX: Changelog updates after release mishap [#784](https://github.com/servicetitan/hammer/pull/784) ([@w-a-t-s-o-n](https://github.com/w-a-t-s-o-n))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Derek Watson ([@w-a-t-s-o-n](https://github.com/w-a-t-s-o-n))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.3.0 (Fri Oct 25 2024)
|
|
14
|
+
|
|
15
|
+
#### ✨ New Feature
|
|
16
|
+
|
|
17
|
+
- ANV-2021: Add sr-only class to css-utils [#773](https://github.com/servicetitan/hammer/pull/773) ([@tounsoo](https://github.com/tounsoo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Ben Ho ([@tounsoo](https://github.com/tounsoo))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.2.0 (Wed Aug 14 2024)
|
|
2
26
|
|
|
3
27
|
#### 🏠 Internal
|
|
@@ -319,4 +319,5 @@
|
|
|
319
319
|
.p-inline-start-8 {padding-inline-start: var(--size-8, 2rem)}
|
|
320
320
|
.p-inline-start-9 {padding-inline-start: var(--size-9, 2.25rem)}
|
|
321
321
|
.p-inline-start-half {padding-inline-start: var(--size-half, 0.125rem)}
|
|
322
|
-
.p-inline-start-quarter {padding-inline-start: var(--size-quarter, 0.0625rem)}
|
|
322
|
+
.p-inline-start-quarter {padding-inline-start: var(--size-quarter, 0.0625rem)}
|
|
323
|
+
.sr-only {border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding-block: 0; padding-inline: 0; position: absolute; white-space: nowrap; width: 1px;}
|
package/config.js
CHANGED
|
@@ -85,7 +85,7 @@ StyleDictionary.registerFormat({
|
|
|
85
85
|
StyleDictionary.registerFormat({
|
|
86
86
|
name: `custom/CSSUtils/All`,
|
|
87
87
|
formatter: function ({ dictionary }) {
|
|
88
|
-
|
|
88
|
+
const allTokens = dictionary.allTokens
|
|
89
89
|
.map((token) => {
|
|
90
90
|
let value = getVarValue(dictionary, token);
|
|
91
91
|
let name = `${token.name.replace("Default", "")}`;
|
|
@@ -116,6 +116,13 @@ StyleDictionary.registerFormat({
|
|
|
116
116
|
.map((t) => `${t}`)
|
|
117
117
|
.sort((a, b) => a.localeCompare(b))
|
|
118
118
|
.join(`\n`);
|
|
119
|
+
|
|
120
|
+
// Manually adding .sr-only
|
|
121
|
+
const withSr = allTokens.concat(
|
|
122
|
+
"\n",
|
|
123
|
+
".sr-only {border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding-block: 0; padding-inline: 0; position: absolute; white-space: nowrap; width: 1px;}",
|
|
124
|
+
);
|
|
125
|
+
return withSr;
|
|
119
126
|
},
|
|
120
127
|
});
|
|
121
128
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/hammer-token",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/web/index.js",
|
|
6
6
|
"types": "build/web/index.d.ts",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"fs-extra": "^11.2.0",
|
|
22
22
|
"style-dictionary": "^3"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "b8f41a26ab56efde908c0dd2a492ef21b1243550"
|
|
25
25
|
}
|