@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.
Files changed (60) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/assets/fonts/index.umd.cjs +1 -1
  3. package/dist/assets/images/index.ts +1 -0
  4. package/dist/assets/index.js +4 -0
  5. package/dist/assets/index.ts +1 -0
  6. package/dist/assets/index.umd.cjs +1 -0
  7. package/dist/components/index.d.ts +3 -1
  8. package/dist/components/index.js +1013 -778
  9. package/dist/components/index.umd.cjs +91 -35
  10. package/dist/components/lukso-button/index.d.ts +8 -3
  11. package/dist/components/lukso-button/index.js +475 -463
  12. package/dist/components/lukso-button/index.umd.cjs +31 -25
  13. package/dist/components/lukso-navbar/index.d.ts +17 -0
  14. package/dist/components/lukso-navbar/index.js +1181 -0
  15. package/dist/components/lukso-navbar/index.umd.cjs +71 -0
  16. package/dist/components/lukso-test/index.d.ts +1 -1
  17. package/dist/components/lukso-test/index.js +590 -590
  18. package/dist/components/lukso-test/index.umd.cjs +25 -25
  19. package/dist/components/lukso-wizard/index.d.ts +18 -0
  20. package/dist/components/lukso-wizard/index.js +1297 -0
  21. package/dist/components/lukso-wizard/index.umd.cjs +89 -0
  22. package/dist/index.js +1013 -778
  23. package/dist/index.umd.cjs +91 -35
  24. package/dist/sass/color-palette.ts +7 -0
  25. package/dist/sass/index.umd.cjs +1 -1
  26. package/dist/sass/typography.scss +1 -1
  27. package/dist/shared/assets/index.d.ts +2 -0
  28. package/dist/shared/directives/{custom-class-map.d.ts → custom-class-map/index.d.ts} +3 -4
  29. package/dist/shared/directives/index.d.ts +2 -0
  30. package/dist/shared/{tailwind.element.d.ts → tailwind-element/index.d.ts} +1 -1
  31. package/dist/shared/tailwind-element/index.js +1064 -0
  32. package/dist/shared/tailwind-element/index.umd.cjs +39 -0
  33. package/dist/shared/tailwind-element.js +1064 -0
  34. package/dist/shared/tailwind-element.umd.cjs +39 -0
  35. package/dist/styles/index.umd.cjs +1 -1
  36. package/dist/styles/main.css +1 -1
  37. package/package.json +33 -10
  38. package/src/components/index.ts +3 -1
  39. package/src/components/lukso-button/index.ts +31 -12
  40. package/src/components/lukso-button/lukso-button.stories.ts +29 -21
  41. package/src/components/lukso-navbar/index.ts +61 -0
  42. package/src/components/lukso-navbar/lukso-navbar.stories.ts +44 -0
  43. package/src/components/lukso-test/index.ts +1 -1
  44. package/src/components/lukso-test/test.stories.ts +1 -1
  45. package/src/components/lukso-wizard/index.ts +74 -0
  46. package/src/components/lukso-wizard/lukso-wizard.stories.ts +45 -0
  47. package/src/shared/assets/images/index.ts +1 -0
  48. package/src/shared/assets/index.ts +1 -0
  49. package/src/shared/directives/{custom-class-map.ts → custom-class-map/index.ts} +1 -3
  50. package/src/shared/directives/index.ts +1 -0
  51. package/src/shared/styles/color-palette.ts +7 -0
  52. package/src/shared/styles/typography.scss +1 -1
  53. package/src/shared/{tailwind.element.ts → tailwind-element/index.ts} +1 -1
  54. package/tailwind.config.cjs +57 -1
  55. package/tools/color-palette.cjs +7 -1
  56. package/tools/color-palette.d.ts +5 -0
  57. package/tools/color-palette.d.ts.map +1 -1
  58. package/dist/shared/tailwind.element.js +0 -1064
  59. package/dist/shared/tailwind.element.umd.cjs +0 -39
  60. 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
@@ -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