@lukso/web-components 1.0.7 → 1.2.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.
- package/CHANGELOG.md +29 -0
- package/dist/assets/fonts/index.umd.cjs +1 -1
- package/dist/assets/images/index.ts +1 -0
- package/dist/assets/index.js +4 -0
- package/dist/assets/index.ts +1 -0
- package/dist/assets/index.umd.cjs +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +1013 -778
- package/dist/components/index.umd.cjs +91 -35
- package/dist/components/lukso-button/index.d.ts +8 -3
- package/dist/components/lukso-button/index.js +475 -463
- package/dist/components/lukso-button/index.umd.cjs +31 -25
- package/dist/components/lukso-navbar/index.d.ts +17 -0
- package/dist/components/lukso-navbar/index.js +1181 -0
- package/dist/components/lukso-navbar/index.umd.cjs +71 -0
- package/dist/components/lukso-test/index.d.ts +1 -1
- package/dist/components/lukso-test/index.js +590 -590
- package/dist/components/lukso-test/index.umd.cjs +25 -25
- package/dist/components/lukso-wizard/index.d.ts +18 -0
- package/dist/components/lukso-wizard/index.js +1297 -0
- package/dist/components/lukso-wizard/index.umd.cjs +89 -0
- package/dist/index.js +1013 -778
- package/dist/index.umd.cjs +91 -35
- package/dist/sass/color-palette.ts +7 -0
- package/dist/sass/index.umd.cjs +1 -1
- package/dist/sass/typography.scss +1 -1
- package/dist/shared/assets/index.d.ts +2 -0
- package/dist/shared/directives/{custom-class-map.d.ts → custom-class-map/index.d.ts} +3 -4
- package/dist/shared/directives/index.d.ts +2 -0
- package/dist/shared/{tailwind.element.d.ts → tailwind-element/index.d.ts} +1 -1
- package/dist/shared/tailwind-element/index.js +1064 -0
- package/dist/shared/tailwind-element/index.umd.cjs +39 -0
- package/dist/shared/tailwind-element.js +1064 -0
- package/dist/shared/tailwind-element.umd.cjs +39 -0
- package/dist/styles/index.umd.cjs +1 -1
- package/dist/styles/main.css +1 -1
- package/package.json +33 -10
- package/src/components/index.ts +3 -1
- package/src/components/lukso-button/index.ts +31 -12
- package/src/components/lukso-button/lukso-button.stories.ts +29 -21
- package/src/components/lukso-navbar/index.ts +61 -0
- package/src/components/lukso-navbar/lukso-navbar.stories.ts +44 -0
- package/src/components/lukso-test/index.ts +1 -1
- package/src/components/lukso-test/test.stories.ts +1 -1
- package/src/components/lukso-wizard/index.ts +74 -0
- package/src/components/lukso-wizard/lukso-wizard.stories.ts +45 -0
- package/src/shared/assets/images/index.ts +1 -0
- package/src/shared/assets/index.ts +1 -0
- package/src/shared/directives/{custom-class-map.ts → custom-class-map/index.ts} +1 -3
- package/src/shared/directives/index.ts +1 -0
- package/src/shared/styles/color-palette.ts +7 -0
- package/src/shared/styles/typography.scss +1 -1
- package/src/shared/{tailwind.element.ts → tailwind-element/index.ts} +1 -1
- package/tailwind.config.cjs +57 -1
- package/tools/color-palette.cjs +7 -1
- package/tools/color-palette.d.ts +5 -0
- package/tools/color-palette.d.ts.map +1 -1
- package/dist/shared/tailwind.element.js +0 -1064
- package/dist/shared/tailwind.element.umd.cjs +0 -39
- package/src/tailwind.config.ts +0 -60
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import tinycolor from 'tinycolor2'
|
|
2
|
+
|
|
1
3
|
import { hslColorMap } from '../utils/hslColorMap'
|
|
2
4
|
|
|
3
5
|
type ColorMap = {
|
|
@@ -29,6 +31,7 @@ export const colorPalette = {
|
|
|
29
31
|
blue: hslColorMap(216, 96, [50, 60, 75, 85]),
|
|
30
32
|
red: hslColorMap(0, 75, [55, 65, 75, 85]),
|
|
31
33
|
purple: hslColorMap(230, 24, [94, 82, 63, 58, 51, 41, 31, 15]),
|
|
34
|
+
pink: hslColorMap(11, 73, [97, 96, 95, 94, 93, 92, 91, 90]),
|
|
32
35
|
'gradient-1': {
|
|
33
36
|
start: '#D39B9D',
|
|
34
37
|
end: '#9071D1',
|
|
@@ -37,6 +40,10 @@ export const colorPalette = {
|
|
|
37
40
|
start: '#F8DAD3',
|
|
38
41
|
end: '#CC99AE',
|
|
39
42
|
},
|
|
43
|
+
'gradient-3': {
|
|
44
|
+
start: tinycolor({ h: 230, s: 20, l: 28 }).toHexString(),
|
|
45
|
+
end: tinycolor({ h: 230, s: 24, l: 51 }).toHexString(),
|
|
46
|
+
},
|
|
40
47
|
}
|
|
41
48
|
|
|
42
49
|
/**
|
package/dist/sass/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e
|
|
1
|
+
(function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e.web_components_sass=n())})(this,function(){"use strict";return __dirname});
|
|
@@ -2,7 +2,7 @@ import { Directive, PartInfo } from 'lit/directive.js';
|
|
|
2
2
|
export interface ClassInfoList {
|
|
3
3
|
readonly [classList: string]: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare class CustomClassMapDirective extends Directive {
|
|
5
|
+
export declare class CustomClassMapDirective extends Directive {
|
|
6
6
|
constructor(partInfo: PartInfo);
|
|
7
7
|
render(classInfoList: ClassInfoList): string;
|
|
8
8
|
}
|
|
@@ -22,6 +22,5 @@ declare class CustomClassMapDirective extends Directive {
|
|
|
22
22
|
*
|
|
23
23
|
* @param classInfoList
|
|
24
24
|
*/
|
|
25
|
-
export declare const customClassMap: (classInfoList: ClassInfoList) => import("lit-html/directive").DirectiveResult<typeof CustomClassMapDirective>;
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=custom-class-map.d.ts.map
|
|
25
|
+
export declare const customClassMap: (classInfoList: ClassInfoList) => import("lit-html/directive.js").DirectiveResult<typeof CustomClassMapDirective>;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|