@alegendstale/holly-components 2.0.7 → 2.0.8

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.
@@ -2,12 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "src/index.ts",
8
- "declarations": [],
9
- "exports": []
10
- },
11
5
  {
12
6
  "kind": "javascript-module",
13
7
  "path": "dist/decorators/condCustomElement.js",
@@ -1789,6 +1783,48 @@
1789
1783
  }
1790
1784
  ]
1791
1785
  },
1786
+ {
1787
+ "kind": "javascript-module",
1788
+ "path": "dist/components/draw-svg/draw-svg.js",
1789
+ "declarations": [
1790
+ {
1791
+ "kind": "variable",
1792
+ "name": "i",
1793
+ "default": "class extends l { constructor() { super(...arguments), this.isIntersecting = !1, this.intersectionObserver = new IntersectionObserver(([s]) => { this.isIntersecting = s.isIntersecting, this.emitter.emit(\"intersection\", s.isIntersecting); }), this.emitter = new m(); } svgClasses() { return super.svgClasses(), { animation: this.isIntersecting }; } connectedCallback() { super.connectedCallback(), this.intersectionObserver.observe(this); } disconnectedCallback() { super.disconnectedCallback(), this.intersectionObserver.disconnect(); } }"
1794
+ }
1795
+ ],
1796
+ "exports": [
1797
+ {
1798
+ "kind": "js",
1799
+ "name": "DrawSvg",
1800
+ "declaration": {
1801
+ "name": "i",
1802
+ "module": "dist/components/draw-svg/draw-svg.js"
1803
+ }
1804
+ }
1805
+ ]
1806
+ },
1807
+ {
1808
+ "kind": "javascript-module",
1809
+ "path": "dist/components/draw-svg/draw-svg.styles.js",
1810
+ "declarations": [
1811
+ {
1812
+ "kind": "variable",
1813
+ "name": "e",
1814
+ "default": "t` :host { stroke: white; fill: white; } /* Override responsive-svg path fill */ :host(:not([svgColors])) path { fill: transparent; } path { stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; } .animation { path { animation: textAnimation 2s ease-in-out 1 forwards; will-change: fill, stroke-width, stroke-dashoffset; } } @keyframes textAnimation { 0% { stroke-dashoffset: 1000; } 60% { fill: transparent; } 100% { fill: inherit; stroke-dashoffset: 0; stroke-width: 1; } } `"
1815
+ }
1816
+ ],
1817
+ "exports": [
1818
+ {
1819
+ "kind": "js",
1820
+ "name": "default",
1821
+ "declaration": {
1822
+ "name": "e",
1823
+ "module": "dist/components/draw-svg/draw-svg.styles.js"
1824
+ }
1825
+ }
1826
+ ]
1827
+ },
1792
1828
  {
1793
1829
  "kind": "javascript-module",
1794
1830
  "path": "dist/components/responsive-svg/responsive-svg.js",
@@ -1879,48 +1915,6 @@
1879
1915
  }
1880
1916
  ]
1881
1917
  },
1882
- {
1883
- "kind": "javascript-module",
1884
- "path": "dist/components/draw-svg/draw-svg.js",
1885
- "declarations": [
1886
- {
1887
- "kind": "variable",
1888
- "name": "i",
1889
- "default": "class extends l { constructor() { super(...arguments), this.isIntersecting = !1, this.intersectionObserver = new IntersectionObserver(([s]) => { this.isIntersecting = s.isIntersecting, this.emitter.emit(\"intersection\", s.isIntersecting); }), this.emitter = new m(); } svgClasses() { return super.svgClasses(), { animation: this.isIntersecting }; } connectedCallback() { super.connectedCallback(), this.intersectionObserver.observe(this); } disconnectedCallback() { super.disconnectedCallback(), this.intersectionObserver.disconnect(); } }"
1890
- }
1891
- ],
1892
- "exports": [
1893
- {
1894
- "kind": "js",
1895
- "name": "DrawSvg",
1896
- "declaration": {
1897
- "name": "i",
1898
- "module": "dist/components/draw-svg/draw-svg.js"
1899
- }
1900
- }
1901
- ]
1902
- },
1903
- {
1904
- "kind": "javascript-module",
1905
- "path": "dist/components/draw-svg/draw-svg.styles.js",
1906
- "declarations": [
1907
- {
1908
- "kind": "variable",
1909
- "name": "e",
1910
- "default": "t` :host { stroke: white; fill: white; } /* Override responsive-svg path fill */ :host(:not([svgColors])) path { fill: transparent; } path { stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; } .animation { path { animation: textAnimation 2s ease-in-out 1 forwards; will-change: fill, stroke-width, stroke-dashoffset; } } @keyframes textAnimation { 0% { stroke-dashoffset: 1000; } 60% { fill: transparent; } 100% { fill: inherit; stroke-dashoffset: 0; stroke-width: 1; } } `"
1911
- }
1912
- ],
1913
- "exports": [
1914
- {
1915
- "kind": "js",
1916
- "name": "default",
1917
- "declaration": {
1918
- "name": "e",
1919
- "module": "dist/components/draw-svg/draw-svg.styles.js"
1920
- }
1921
- }
1922
- ]
1923
- },
1924
1918
  {
1925
1919
  "kind": "javascript-module",
1926
1920
  "path": "dist/components/tool-tip/tool-tip.js",
@@ -1979,6 +1973,150 @@
1979
1973
  }
1980
1974
  ]
1981
1975
  },
1976
+ {
1977
+ "kind": "javascript-module",
1978
+ "path": "src/components/absolute-container/absolute-container.styles.ts",
1979
+ "declarations": [],
1980
+ "exports": [
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "default",
1984
+ "declaration": {
1985
+ "module": "src/components/absolute-container/absolute-container.styles.ts"
1986
+ }
1987
+ }
1988
+ ]
1989
+ },
1990
+ {
1991
+ "kind": "javascript-module",
1992
+ "path": "src/components/absolute-container/absolute-container.ts",
1993
+ "declarations": [
1994
+ {
1995
+ "kind": "class",
1996
+ "description": "A container component which can serve as a modal or popup wrapper.",
1997
+ "name": "AbsoluteContainer",
1998
+ "members": [
1999
+ {
2000
+ "kind": "field",
2001
+ "name": "open",
2002
+ "description": "Whether the container is open (visible) or not.",
2003
+ "type": {
2004
+ "text": "boolean"
2005
+ },
2006
+ "default": "false",
2007
+ "attribute": "open",
2008
+ "reflects": true
2009
+ },
2010
+ {
2011
+ "kind": "field",
2012
+ "name": "emitter",
2013
+ "type": {
2014
+ "text": "EventEmitter<EventMap>"
2015
+ },
2016
+ "privacy": "public",
2017
+ "default": "new EventEmitter<EventMap>()",
2018
+ "description": "Public way to subscribe to events."
2019
+ },
2020
+ {
2021
+ "kind": "field",
2022
+ "name": "disableContextEvent",
2023
+ "type": {
2024
+ "text": "boolean"
2025
+ },
2026
+ "privacy": "public",
2027
+ "default": "false",
2028
+ "description": "Disables the ContextEvent (right click, or long touch)\r\nUseful for context menus",
2029
+ "attribute": "disableContextEvent",
2030
+ "reflects": true
2031
+ },
2032
+ {
2033
+ "kind": "method",
2034
+ "name": "toggle",
2035
+ "privacy": "public",
2036
+ "description": "Toggle whether container is open."
2037
+ },
2038
+ {
2039
+ "kind": "method",
2040
+ "name": "setOpen",
2041
+ "privacy": "public",
2042
+ "parameters": [
2043
+ {
2044
+ "name": "val",
2045
+ "type": {
2046
+ "text": "boolean"
2047
+ }
2048
+ }
2049
+ ],
2050
+ "description": "Set whether the container is open."
2051
+ },
2052
+ {
2053
+ "kind": "method",
2054
+ "name": "setPosition",
2055
+ "privacy": "public",
2056
+ "parameters": [
2057
+ {
2058
+ "name": "left",
2059
+ "type": {
2060
+ "text": "number"
2061
+ }
2062
+ },
2063
+ {
2064
+ "name": "top",
2065
+ "type": {
2066
+ "text": "number"
2067
+ }
2068
+ }
2069
+ ],
2070
+ "description": "Set the x and y position of the container."
2071
+ }
2072
+ ],
2073
+ "attributes": [
2074
+ {
2075
+ "name": "open",
2076
+ "description": "Whether the container is open (visible) or not.",
2077
+ "type": {
2078
+ "text": "boolean"
2079
+ },
2080
+ "default": "false",
2081
+ "fieldName": "open"
2082
+ },
2083
+ {
2084
+ "name": "disableContextEvent",
2085
+ "type": {
2086
+ "text": "boolean"
2087
+ },
2088
+ "default": "false",
2089
+ "description": "Disables the ContextEvent (right click, or long touch)\r\nUseful for context menus",
2090
+ "fieldName": "disableContextEvent"
2091
+ }
2092
+ ],
2093
+ "superclass": {
2094
+ "name": "LitElement",
2095
+ "package": "lit"
2096
+ },
2097
+ "tagName": "absolute-container",
2098
+ "customElement": true
2099
+ }
2100
+ ],
2101
+ "exports": [
2102
+ {
2103
+ "kind": "js",
2104
+ "name": "AbsoluteContainer",
2105
+ "declaration": {
2106
+ "name": "AbsoluteContainer",
2107
+ "module": "src/components/absolute-container/absolute-container.ts"
2108
+ }
2109
+ },
2110
+ {
2111
+ "kind": "custom-element-definition",
2112
+ "name": "absolute-container",
2113
+ "declaration": {
2114
+ "name": "AbsoluteContainer",
2115
+ "module": "src/components/absolute-container/absolute-container.ts"
2116
+ }
2117
+ }
2118
+ ]
2119
+ },
1982
2120
  {
1983
2121
  "kind": "javascript-module",
1984
2122
  "path": "src/components/bottom-sheet/bottom-sheet.styles.ts",
@@ -2412,279 +2550,16 @@
2412
2550
  },
2413
2551
  {
2414
2552
  "kind": "javascript-module",
2415
- "path": "src/components/absolute-container/absolute-container.styles.ts",
2416
- "declarations": [],
2417
- "exports": [
2418
- {
2419
- "kind": "js",
2420
- "name": "default",
2421
- "declaration": {
2422
- "module": "src/components/absolute-container/absolute-container.styles.ts"
2423
- }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "javascript-module",
2429
- "path": "src/components/absolute-container/absolute-container.ts",
2553
+ "path": "src/components/canvas/canvas-base.ts",
2430
2554
  "declarations": [
2431
2555
  {
2432
2556
  "kind": "class",
2433
- "description": "A container component which can serve as a modal or popup wrapper.",
2434
- "name": "AbsoluteContainer",
2557
+ "description": "Utility component to help with creating canvases.",
2558
+ "name": "CanvasBase",
2435
2559
  "members": [
2436
2560
  {
2437
2561
  "kind": "field",
2438
- "name": "open",
2439
- "description": "Whether the container is open (visible) or not.",
2440
- "type": {
2441
- "text": "boolean"
2442
- },
2443
- "default": "false",
2444
- "attribute": "open",
2445
- "reflects": true
2446
- },
2447
- {
2448
- "kind": "field",
2449
- "name": "emitter",
2450
- "type": {
2451
- "text": "EventEmitter<EventMap>"
2452
- },
2453
- "privacy": "public",
2454
- "default": "new EventEmitter<EventMap>()",
2455
- "description": "Public way to subscribe to events."
2456
- },
2457
- {
2458
- "kind": "field",
2459
- "name": "disableContextEvent",
2460
- "type": {
2461
- "text": "boolean"
2462
- },
2463
- "privacy": "public",
2464
- "default": "false",
2465
- "description": "Disables the ContextEvent (right click, or long touch)\r\nUseful for context menus",
2466
- "attribute": "disableContextEvent",
2467
- "reflects": true
2468
- },
2469
- {
2470
- "kind": "method",
2471
- "name": "toggle",
2472
- "privacy": "public",
2473
- "description": "Toggle whether container is open."
2474
- },
2475
- {
2476
- "kind": "method",
2477
- "name": "setOpen",
2478
- "privacy": "public",
2479
- "parameters": [
2480
- {
2481
- "name": "val",
2482
- "type": {
2483
- "text": "boolean"
2484
- }
2485
- }
2486
- ],
2487
- "description": "Set whether the container is open."
2488
- },
2489
- {
2490
- "kind": "method",
2491
- "name": "setPosition",
2492
- "privacy": "public",
2493
- "parameters": [
2494
- {
2495
- "name": "left",
2496
- "type": {
2497
- "text": "number"
2498
- }
2499
- },
2500
- {
2501
- "name": "top",
2502
- "type": {
2503
- "text": "number"
2504
- }
2505
- }
2506
- ],
2507
- "description": "Set the x and y position of the container."
2508
- }
2509
- ],
2510
- "attributes": [
2511
- {
2512
- "name": "open",
2513
- "description": "Whether the container is open (visible) or not.",
2514
- "type": {
2515
- "text": "boolean"
2516
- },
2517
- "default": "false",
2518
- "fieldName": "open"
2519
- },
2520
- {
2521
- "name": "disableContextEvent",
2522
- "type": {
2523
- "text": "boolean"
2524
- },
2525
- "default": "false",
2526
- "description": "Disables the ContextEvent (right click, or long touch)\r\nUseful for context menus",
2527
- "fieldName": "disableContextEvent"
2528
- }
2529
- ],
2530
- "superclass": {
2531
- "name": "LitElement",
2532
- "package": "lit"
2533
- },
2534
- "tagName": "absolute-container",
2535
- "customElement": true
2536
- }
2537
- ],
2538
- "exports": [
2539
- {
2540
- "kind": "js",
2541
- "name": "AbsoluteContainer",
2542
- "declaration": {
2543
- "name": "AbsoluteContainer",
2544
- "module": "src/components/absolute-container/absolute-container.ts"
2545
- }
2546
- },
2547
- {
2548
- "kind": "custom-element-definition",
2549
- "name": "absolute-container",
2550
- "declaration": {
2551
- "name": "AbsoluteContainer",
2552
- "module": "src/components/absolute-container/absolute-container.ts"
2553
- }
2554
- }
2555
- ]
2556
- },
2557
- {
2558
- "kind": "javascript-module",
2559
- "path": "src/components/carousel-scroller/carousel-scroller.styles.ts",
2560
- "declarations": [],
2561
- "exports": [
2562
- {
2563
- "kind": "js",
2564
- "name": "default",
2565
- "declaration": {
2566
- "module": "src/components/carousel-scroller/carousel-scroller.styles.ts"
2567
- }
2568
- }
2569
- ]
2570
- },
2571
- {
2572
- "kind": "javascript-module",
2573
- "path": "src/components/carousel-scroller/carousel-scroller.ts",
2574
- "declarations": [
2575
- {
2576
- "kind": "class",
2577
- "description": "A carousel which can have any number of slides, and rotates circularly.",
2578
- "name": "CarouselScroller",
2579
- "cssProperties": [
2580
- {
2581
- "type": {
2582
- "text": "<length>"
2583
- },
2584
- "description": "The size of the scroller padding.",
2585
- "name": "--padding"
2586
- },
2587
- {
2588
- "type": {
2589
- "text": "<length>"
2590
- },
2591
- "description": "The size of the scroller margin.",
2592
- "name": "--margin"
2593
- }
2594
- ],
2595
- "members": [
2596
- {
2597
- "kind": "field",
2598
- "name": "slotEl",
2599
- "type": {
2600
- "text": "HTMLSlotElement"
2601
- },
2602
- "privacy": "protected",
2603
- "description": "The items that will be used as slides."
2604
- },
2605
- {
2606
- "kind": "field",
2607
- "name": "slotChildren",
2608
- "type": {
2609
- "text": "HTMLElement[]"
2610
- },
2611
- "privacy": "protected",
2612
- "default": "[]",
2613
- "description": "The slides being used."
2614
- },
2615
- {
2616
- "kind": "field",
2617
- "name": "emitter",
2618
- "type": {
2619
- "text": "EventEmitter<EventMap>"
2620
- },
2621
- "privacy": "public",
2622
- "default": "new EventEmitter<EventMap>()",
2623
- "description": "Public way to subscribe to events."
2624
- },
2625
- {
2626
- "kind": "method",
2627
- "name": "getCurrentSlide",
2628
- "privacy": "public",
2629
- "description": "Gets the current slide.",
2630
- "return": {
2631
- "type": {
2632
- "text": ""
2633
- }
2634
- }
2635
- },
2636
- {
2637
- "kind": "method",
2638
- "name": "scrollToPrevSlide",
2639
- "privacy": "public",
2640
- "description": "Scrolls to the slide before the current slide."
2641
- },
2642
- {
2643
- "kind": "method",
2644
- "name": "scrollToNextSlide",
2645
- "privacy": "public",
2646
- "description": "Scrolls to the slide after the current slide."
2647
- }
2648
- ],
2649
- "superclass": {
2650
- "name": "LitElement",
2651
- "package": "lit"
2652
- },
2653
- "tagName": "carousel-scroller",
2654
- "customElement": true
2655
- }
2656
- ],
2657
- "exports": [
2658
- {
2659
- "kind": "js",
2660
- "name": "CarouselScroller",
2661
- "declaration": {
2662
- "name": "CarouselScroller",
2663
- "module": "src/components/carousel-scroller/carousel-scroller.ts"
2664
- }
2665
- },
2666
- {
2667
- "kind": "custom-element-definition",
2668
- "name": "carousel-scroller",
2669
- "declaration": {
2670
- "name": "CarouselScroller",
2671
- "module": "src/components/carousel-scroller/carousel-scroller.ts"
2672
- }
2673
- }
2674
- ]
2675
- },
2676
- {
2677
- "kind": "javascript-module",
2678
- "path": "src/components/canvas/canvas-base.ts",
2679
- "declarations": [
2680
- {
2681
- "kind": "class",
2682
- "description": "Utility component to help with creating canvases.",
2683
- "name": "CanvasBase",
2684
- "members": [
2685
- {
2686
- "kind": "field",
2687
- "name": "canvas",
2562
+ "name": "canvas",
2688
2563
  "type": {
2689
2564
  "text": "HTMLCanvasElement"
2690
2565
  },
@@ -3275,6 +3150,125 @@
3275
3150
  }
3276
3151
  ]
3277
3152
  },
3153
+ {
3154
+ "kind": "javascript-module",
3155
+ "path": "src/components/carousel-scroller/carousel-scroller.styles.ts",
3156
+ "declarations": [],
3157
+ "exports": [
3158
+ {
3159
+ "kind": "js",
3160
+ "name": "default",
3161
+ "declaration": {
3162
+ "module": "src/components/carousel-scroller/carousel-scroller.styles.ts"
3163
+ }
3164
+ }
3165
+ ]
3166
+ },
3167
+ {
3168
+ "kind": "javascript-module",
3169
+ "path": "src/components/carousel-scroller/carousel-scroller.ts",
3170
+ "declarations": [
3171
+ {
3172
+ "kind": "class",
3173
+ "description": "A carousel which can have any number of slides, and rotates circularly.",
3174
+ "name": "CarouselScroller",
3175
+ "cssProperties": [
3176
+ {
3177
+ "type": {
3178
+ "text": "<length>"
3179
+ },
3180
+ "description": "The size of the scroller padding.",
3181
+ "name": "--padding"
3182
+ },
3183
+ {
3184
+ "type": {
3185
+ "text": "<length>"
3186
+ },
3187
+ "description": "The size of the scroller margin.",
3188
+ "name": "--margin"
3189
+ }
3190
+ ],
3191
+ "members": [
3192
+ {
3193
+ "kind": "field",
3194
+ "name": "slotEl",
3195
+ "type": {
3196
+ "text": "HTMLSlotElement"
3197
+ },
3198
+ "privacy": "protected",
3199
+ "description": "The items that will be used as slides."
3200
+ },
3201
+ {
3202
+ "kind": "field",
3203
+ "name": "slotChildren",
3204
+ "type": {
3205
+ "text": "HTMLElement[]"
3206
+ },
3207
+ "privacy": "protected",
3208
+ "default": "[]",
3209
+ "description": "The slides being used."
3210
+ },
3211
+ {
3212
+ "kind": "field",
3213
+ "name": "emitter",
3214
+ "type": {
3215
+ "text": "EventEmitter<EventMap>"
3216
+ },
3217
+ "privacy": "public",
3218
+ "default": "new EventEmitter<EventMap>()",
3219
+ "description": "Public way to subscribe to events."
3220
+ },
3221
+ {
3222
+ "kind": "method",
3223
+ "name": "getCurrentSlide",
3224
+ "privacy": "public",
3225
+ "description": "Gets the current slide.",
3226
+ "return": {
3227
+ "type": {
3228
+ "text": ""
3229
+ }
3230
+ }
3231
+ },
3232
+ {
3233
+ "kind": "method",
3234
+ "name": "scrollToPrevSlide",
3235
+ "privacy": "public",
3236
+ "description": "Scrolls to the slide before the current slide."
3237
+ },
3238
+ {
3239
+ "kind": "method",
3240
+ "name": "scrollToNextSlide",
3241
+ "privacy": "public",
3242
+ "description": "Scrolls to the slide after the current slide."
3243
+ }
3244
+ ],
3245
+ "superclass": {
3246
+ "name": "LitElement",
3247
+ "package": "lit"
3248
+ },
3249
+ "tagName": "carousel-scroller",
3250
+ "customElement": true
3251
+ }
3252
+ ],
3253
+ "exports": [
3254
+ {
3255
+ "kind": "js",
3256
+ "name": "CarouselScroller",
3257
+ "declaration": {
3258
+ "name": "CarouselScroller",
3259
+ "module": "src/components/carousel-scroller/carousel-scroller.ts"
3260
+ }
3261
+ },
3262
+ {
3263
+ "kind": "custom-element-definition",
3264
+ "name": "carousel-scroller",
3265
+ "declaration": {
3266
+ "name": "CarouselScroller",
3267
+ "module": "src/components/carousel-scroller/carousel-scroller.ts"
3268
+ }
3269
+ }
3270
+ ]
3271
+ },
3278
3272
  {
3279
3273
  "kind": "javascript-module",
3280
3274
  "path": "src/components/color-palette/color-palette-utils.ts",
package/package.json CHANGED
@@ -2,19 +2,18 @@
2
2
  "private": false,
3
3
  "name": "@alegendstale/holly-components",
4
4
  "description": "Reusable UI components created using lit",
5
- "version": "2.0.7",
5
+ "version": "2.0.8",
6
6
  "author": "ALegendsTale",
7
7
  "license": "GPL-3.0",
8
8
  "customElements": "custom-elements.json",
9
9
  "type": "module",
10
10
  "exports": {
11
- ".": "./dist/index.js",
12
- "./dist/components": "./dist/components",
13
- "./dist/components/*": "./dist/components/*",
14
- "./dist/decorators": "./dist/decorators",
15
- "./dist/decorators/*": "./dist/decorators/*",
16
- "./dist/utils": "./dist/utils",
17
- "./dist/utils/*": "./dist/utils/*",
11
+ "./components": "./dist/components",
12
+ "./decorators": "./dist/decorators",
13
+ "./utils": "./dist/utils",
14
+ "./components/*.js": "./dist/components/*.js",
15
+ "./decorators/*.js": "./dist/decorators/*.js",
16
+ "./utils/*.js": "./dist/utils/*.js",
18
17
  "./custom-elements.json": "./custom-elements.json",
19
18
  "./package.json": "./package.json"
20
19
  },
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
-