@lukso/web-components 1.0.7 → 1.2.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/assets/fonts/index.umd.cjs +1 -1
  3. package/dist/assets/images/index.js +4 -0
  4. package/dist/assets/images/index.ts +1 -0
  5. package/dist/assets/images/index.umd.cjs +1 -0
  6. package/dist/assets/index.js +4 -0
  7. package/dist/assets/index.ts +1 -0
  8. package/dist/assets/index.umd.cjs +1 -0
  9. package/dist/components/index.d.ts +3 -1
  10. package/dist/components/index.js +1013 -778
  11. package/dist/components/index.umd.cjs +91 -35
  12. package/dist/components/lukso-button/index.d.ts +8 -3
  13. package/dist/components/lukso-button/index.js +475 -463
  14. package/dist/components/lukso-button/index.umd.cjs +31 -25
  15. package/dist/components/lukso-navbar/index.d.ts +17 -0
  16. package/dist/components/lukso-navbar/index.js +1181 -0
  17. package/dist/components/lukso-navbar/index.umd.cjs +71 -0
  18. package/dist/components/lukso-test/index.d.ts +1 -1
  19. package/dist/components/lukso-test/index.js +590 -590
  20. package/dist/components/lukso-test/index.umd.cjs +25 -25
  21. package/dist/components/lukso-wizard/index.d.ts +18 -0
  22. package/dist/components/lukso-wizard/index.js +1297 -0
  23. package/dist/components/lukso-wizard/index.umd.cjs +89 -0
  24. package/dist/index.js +1013 -778
  25. package/dist/index.umd.cjs +91 -35
  26. package/dist/sass/color-palette.ts +7 -0
  27. package/dist/sass/index.umd.cjs +1 -1
  28. package/dist/sass/typography.scss +1 -1
  29. package/dist/shared/assets/images/index.d.ts +2 -0
  30. package/dist/shared/assets/index.d.ts +2 -0
  31. package/dist/shared/directives/{custom-class-map.d.ts → custom-class-map/index.d.ts} +3 -4
  32. package/dist/shared/directives/index.d.ts +2 -0
  33. package/dist/shared/{tailwind.element.d.ts → tailwind-element/index.d.ts} +1 -1
  34. package/dist/shared/tailwind-element/index.js +1064 -0
  35. package/dist/shared/tailwind-element/index.umd.cjs +39 -0
  36. package/dist/shared/tailwind-element.js +1064 -0
  37. package/dist/shared/tailwind-element.umd.cjs +39 -0
  38. package/dist/styles/index.umd.cjs +1 -1
  39. package/dist/styles/main.css +1 -1
  40. package/package.json +39 -10
  41. package/src/components/index.ts +3 -1
  42. package/src/components/lukso-button/index.ts +31 -12
  43. package/src/components/lukso-button/lukso-button.stories.ts +29 -21
  44. package/src/components/lukso-navbar/index.ts +61 -0
  45. package/src/components/lukso-navbar/lukso-navbar.stories.ts +44 -0
  46. package/src/components/lukso-test/index.ts +1 -1
  47. package/src/components/lukso-test/test.stories.ts +1 -1
  48. package/src/components/lukso-wizard/index.ts +74 -0
  49. package/src/components/lukso-wizard/lukso-wizard.stories.ts +45 -0
  50. package/src/shared/assets/images/index.ts +1 -0
  51. package/src/shared/assets/index.ts +1 -0
  52. package/src/shared/directives/{custom-class-map.ts → custom-class-map/index.ts} +1 -3
  53. package/src/shared/directives/index.ts +1 -0
  54. package/src/shared/styles/color-palette.ts +7 -0
  55. package/src/shared/styles/typography.scss +1 -1
  56. package/src/shared/{tailwind.element.ts → tailwind-element/index.ts} +1 -1
  57. package/tailwind.config.cjs +57 -1
  58. package/tools/color-palette.cjs +7 -1
  59. package/tools/color-palette.d.ts +5 -0
  60. package/tools/color-palette.d.ts.map +1 -1
  61. package/dist/shared/tailwind.element.js +0 -1064
  62. package/dist/shared/tailwind.element.umd.cjs +0 -39
  63. 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
  /**
@@ -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["Lukso Components: Sass"]=n())})(this,function(){"use strict";return __dirname});
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});
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .heading-h5-apax {
40
- @apply text-8 not-italic font-500 leading-28 font-apax;
40
+ @apply text-8 not-italic font-500 leading-10 font-apax;
41
41
  }
42
42
 
43
43
  // Paragraph
@@ -0,0 +1,2 @@
1
+ export default __dirname;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ export default __dirname;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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
- export type { CustomClassMapDirective };
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
@@ -0,0 +1,2 @@
1
+ export * from './custom-class-map';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -3,4 +3,4 @@ export declare const TailwindStyledElement: (style: any) => typeof LitElement;
3
3
  export declare class TailwindElement extends LitElement {
4
4
  static styles: import("lit").CSSResult[];
5
5
  }
6
- //# sourceMappingURL=tailwind.element.d.ts.map
6
+ //# sourceMappingURL=index.d.ts.map