@licklist/design 0.78.5-dev.24 → 0.78.5-dev.25
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/bitbucket-pipelines.yml +3 -3
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.js +1 -0
- package/dist/snippet/snippet-template/context/snippetTemplateView.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplateView.js +1 -0
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/styles/snippet-templates/SnippetTemplate.scss +6 -0
- package/dist/styles/snippet-templates/_snippetVariables.scss +6 -0
- package/package.json +3 -3
- package/src/snippet/snippet-template/context/snippetTemplate.tsx +1 -0
- package/src/snippet/snippet-template/context/snippetTemplateView.tsx +1 -0
- package/src/snippet/snippet-template/preview/Preview.tsx +6 -2
- package/src/styles/snippet-templates/SnippetTemplate.scss +6 -0
- package/src/styles/snippet-templates/_snippetVariables.scss +6 -0
- package/yarn.lock +0 -22237
package/bitbucket-pipelines.yml
CHANGED
|
@@ -62,9 +62,9 @@ pipelines:
|
|
|
62
62
|
name: Publish to NPM
|
|
63
63
|
script:
|
|
64
64
|
- printf "//`node -p \"require('url').parse(process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org').host\"`/:_authToken=${NPM_TOKEN}\nregistry=${NPM_REGISTRY_URL:-https://registry.npmjs.org}\n" >> ~/.npmrc
|
|
65
|
-
- pipe: atlassian/npm-publish:
|
|
65
|
+
- pipe: atlassian/npm-publish:1.1.1
|
|
66
66
|
variables:
|
|
67
|
-
NPM_TOKEN: $NPM_TOKEN
|
|
67
|
+
NPM_TOKEN: $NPM_TOKEN
|
|
68
68
|
|
|
69
69
|
branches:
|
|
70
70
|
master:
|
|
@@ -86,4 +86,4 @@ pipelines:
|
|
|
86
86
|
pull-requests:
|
|
87
87
|
'**':
|
|
88
88
|
- step: *install
|
|
89
|
-
- step: *build
|
|
89
|
+
- step: *build
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippetTemplate.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/context/snippetTemplate.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EAEhB,MAAM,mEAAmE,CAAA;AAG1E,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD,eAAe,GAAG;IAChB,IAAI,EAAE,MAAM,CAAA;CACb,CACF,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,6BAA6B,CAAA;IACvC,OAAO,EAAE;QACP,cAAc,EAAE,CAAC,YAAY,EAAE,6BAA6B,KAAK,IAAI,CAAA;KACtE,CAAA;CACF;AAED,eAAO,MAAM,sBAAsB,uDACuB,CAAA;AAE1D,MAAM,WAAW,0CACf,SAAQ,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,6BAA6B,CAAA;CAC9C;AAED,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,EACR,aAAa,GACd,EAAE,0CAA0C,
|
|
1
|
+
{"version":3,"file":"snippetTemplate.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/context/snippetTemplate.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EAEhB,MAAM,mEAAmE,CAAA;AAG1E,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD,eAAe,GAAG;IAChB,IAAI,EAAE,MAAM,CAAA;CACb,CACF,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,6BAA6B,CAAA;IACvC,OAAO,EAAE;QACP,cAAc,EAAE,CAAC,YAAY,EAAE,6BAA6B,KAAK,IAAI,CAAA;KACtE,CAAA;CACF;AAED,eAAO,MAAM,sBAAsB,uDACuB,CAAA;AAE1D,MAAM,WAAW,0CACf,SAAQ,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,6BAA6B,CAAA;CAC9C;AAED,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,EACR,aAAa,GACd,EAAE,0CAA0C,2CA+J5C"}
|
|
@@ -102,6 +102,7 @@ function SnippetTemplateContextProvider(param) {
|
|
|
102
102
|
'--snippet-page-body-left-block-back-button-body-color': template === null || template === void 0 ? void 0 : template.pageBodyLeftBlockBackButtonBodyColor,
|
|
103
103
|
'--snippet-page-body-right-block-background-color': template === null || template === void 0 ? void 0 : template.pageBodyRightBlockBackgroundColor,
|
|
104
104
|
'--snippet-elements-body-color': template === null || template === void 0 ? void 0 : template.elementsBodyColor,
|
|
105
|
+
'--snippet-elements-heading-text-color': template === null || template === void 0 ? void 0 : template.elementsHeadingTextColor,
|
|
105
106
|
'--snippet-elements-input-border-color': template === null || template === void 0 ? void 0 : template.elementsInputBorderColor,
|
|
106
107
|
'--snippet-elements-input-background-color': template === null || template === void 0 ? void 0 : template.elementsInputBackgroundColor,
|
|
107
108
|
'--snippet-elements-input-body-color': template === null || template === void 0 ? void 0 : template.elementsInputBodyColor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippetTemplateView.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/context/snippetTemplateView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUhC,CAAA;AAED,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,MAAM,OAAO,oBAAoB,CAAA;IACvC,UAAU,EAAE,OAAO,oBAAoB,CAAA;IACvC,OAAO,EAAE,KAAK,CAAC,QAAQ,CACrB,KAAK,CAAC,cAAc,CAAC,MAAM,OAAO,oBAAoB,CAAC,CACxD,CAAA;CACF;AAED,eAAO,MAAM,0BAA0B,2DACuB,CAAA;AAE9D,eAAO,MAAM,YAAY,EAAE,MAAM,OAAO,oBAA6B,CAAA;AAErE,wBAAgB,kCAAkC,CAAC,EAAE,QAAQ,EAAE;;CAAA,
|
|
1
|
+
{"version":3,"file":"snippetTemplateView.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/context/snippetTemplateView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUhC,CAAA;AAED,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,MAAM,OAAO,oBAAoB,CAAA;IACvC,UAAU,EAAE,OAAO,oBAAoB,CAAA;IACvC,OAAO,EAAE,KAAK,CAAC,QAAQ,CACrB,KAAK,CAAC,cAAc,CAAC,MAAM,OAAO,oBAAoB,CAAC,CACxD,CAAA;CACF;AAED,eAAO,MAAM,0BAA0B,2DACuB,CAAA;AAE9D,eAAO,MAAM,YAAY,EAAE,MAAM,OAAO,oBAA6B,CAAA;AAErE,wBAAgB,kCAAkC,CAAC,EAAE,QAAQ,EAAE;;CAAA,2CA2I9D"}
|
|
@@ -112,6 +112,7 @@ function SnippetTemplateViewContextProvider(param) {
|
|
|
112
112
|
},
|
|
113
113
|
elements: {
|
|
114
114
|
elementsBodyColor: t('bodyColor'),
|
|
115
|
+
elementsHeadingTextColor: t('headingTextColor'),
|
|
115
116
|
elementsInputBorderColor: t('inputBorderColor'),
|
|
116
117
|
elementsInputBackgroundColor: t('inputBackgroundColor'),
|
|
117
118
|
elementsInputBodyColor: t('inputBodyColor'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CAkWd"}
|
|
@@ -257,3 +257,9 @@ $color-transition:
|
|
|
257
257
|
background-color 0.15s ease-in-out,
|
|
258
258
|
border-color 0.15s ease-in-out,
|
|
259
259
|
box-shadow 0.15s ease-in-out !default;
|
|
260
|
+
|
|
261
|
+
// Heading text color variable mapping
|
|
262
|
+
$snippet-elements-heading-text-color: var(
|
|
263
|
+
--snippet-elements-heading-text-color,
|
|
264
|
+
#333333
|
|
265
|
+
) !default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licklist/design",
|
|
3
|
-
"version": "0.78.5-dev.
|
|
3
|
+
"version": "0.78.5-dev.25",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@licklist/core": "0.36.1-dev.
|
|
45
|
+
"@licklist/core": "0.36.1-dev.7",
|
|
46
46
|
"@licklist/eslint-config": "0.5.6",
|
|
47
47
|
"@licklist/plugins": "0.36.4-dev.9",
|
|
48
48
|
"clsx": "2.1.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@dnd-kit/utilities": "2.0.0",
|
|
65
65
|
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
|
66
66
|
"@fortawesome/free-solid-svg-icons": "5.15.2",
|
|
67
|
-
"@licklist/core": "0.36.1-dev.
|
|
67
|
+
"@licklist/core": "0.36.1-dev.7",
|
|
68
68
|
"@licklist/eslint-config": "0.5.6",
|
|
69
69
|
"@licklist/plugins": "0.36.4-dev.8",
|
|
70
70
|
"@mantine/core": "6.0.22",
|
|
@@ -105,6 +105,7 @@ export function SnippetTemplateContextProvider({
|
|
|
105
105
|
'--snippet-page-body-right-block-background-color':
|
|
106
106
|
template?.pageBodyRightBlockBackgroundColor,
|
|
107
107
|
'--snippet-elements-body-color': template?.elementsBodyColor,
|
|
108
|
+
'--snippet-elements-heading-text-color': template?.elementsHeadingTextColor,
|
|
108
109
|
'--snippet-elements-input-border-color':
|
|
109
110
|
template?.elementsInputBorderColor,
|
|
110
111
|
'--snippet-elements-input-background-color':
|
|
@@ -92,6 +92,7 @@ export function SnippetTemplateViewContextProvider({ children }) {
|
|
|
92
92
|
|
|
93
93
|
elements: {
|
|
94
94
|
elementsBodyColor: t('bodyColor'),
|
|
95
|
+
elementsHeadingTextColor: t('headingTextColor'),
|
|
95
96
|
|
|
96
97
|
elementsInputBorderColor: t('inputBorderColor'),
|
|
97
98
|
elementsInputBackgroundColor: t('inputBackgroundColor'),
|
|
@@ -257,3 +257,9 @@ $color-transition:
|
|
|
257
257
|
background-color 0.15s ease-in-out,
|
|
258
258
|
border-color 0.15s ease-in-out,
|
|
259
259
|
box-shadow 0.15s ease-in-out !default;
|
|
260
|
+
|
|
261
|
+
// Heading text color variable mapping
|
|
262
|
+
$snippet-elements-heading-text-color: var(
|
|
263
|
+
--snippet-elements-heading-text-color,
|
|
264
|
+
#333333
|
|
265
|
+
) !default;
|