@roadtrip/components 3.3.0 → 3.4.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 (93) hide show
  1. package/dist/cjs/index-a2306350.js +4 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/road-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/road-badge_14.cjs.entry.js +1 -1
  5. package/dist/cjs/road-button-floating.cjs.entry.js +66 -0
  6. package/dist/cjs/roadtrip.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +1 -0
  8. package/dist/collection/components/alert/alert.css +4 -0
  9. package/dist/collection/components/button/button.css +0 -2
  10. package/dist/collection/components/button-floating/button-floating.css +122 -0
  11. package/dist/collection/components/button-floating/button-floating.js +220 -0
  12. package/dist/collection/components/button-floating/button-floating.stories.js +75 -0
  13. package/dist/collection/components/icon/svg/becommerce-color.svg +1 -0
  14. package/dist/collection/components/icon/svg/becommerce-outline.svg +1 -0
  15. package/dist/collection/components/icon/svg/discount-workshop-color.svg +1 -0
  16. package/dist/collection/components/icon/svg/discount-workshop-outline.svg +1 -0
  17. package/dist/collection/components/icon/svg/discount-workshop-solid.svg +1 -0
  18. package/dist/collection/components/icon/svg/flag-belgium-color.svg +1 -1
  19. package/dist/collection/components/icon/svg/garage-color.svg +1 -1
  20. package/dist/collection/components/icon/svg/garage-house-color.svg +1 -1
  21. package/dist/collection/components/icon/svg/garage-house-outline.svg +1 -1
  22. package/dist/collection/components/icon/svg/garage-outline.svg +1 -1
  23. package/dist/collection/components/icon/svg/keep-in-repair-outline.svg +1 -1
  24. package/dist/collection/components/icon/svg/location-pin-all-color.svg +1 -1
  25. package/dist/collection/components/icon/svg/location-pin-all-outline.svg +1 -1
  26. package/dist/collection/components/icon/svg/location-pin-all-solid.svg +1 -1
  27. package/dist/collection/components/icon/svg/location-pin-color.svg +1 -1
  28. package/dist/collection/components/icon/svg/location-pin-garage-auto5-color.svg +1 -0
  29. package/dist/collection/components/icon/svg/location-pin-garage-auto5-outline.svg +1 -0
  30. package/dist/collection/components/icon/svg/location-pin-garage-auto5-solid.svg +1 -1
  31. package/dist/collection/components/icon/svg/location-pin-garage-color.svg +1 -0
  32. package/dist/collection/components/icon/svg/location-pin-garage-norauto-color.svg +1 -0
  33. package/dist/collection/components/icon/svg/location-pin-garage-norauto-outline.svg +1 -0
  34. package/dist/collection/components/icon/svg/location-pin-garage-norauto-solid.svg +1 -1
  35. package/dist/collection/components/icon/svg/location-pin-garage-outline.svg +1 -0
  36. package/dist/collection/components/icon/svg/location-pin-garage-solid.svg +1 -1
  37. package/dist/collection/components/icon/svg/location-pin-number-outline.svg +1 -0
  38. package/dist/collection/components/icon/svg/location-pin-number-solid.svg +1 -1
  39. package/dist/collection/components/icon/svg/location-pin-outline.svg +1 -1
  40. package/dist/collection/components/icon/svg/location-pin-solid.svg +1 -1
  41. package/dist/collection/components/icon/svg/tire-pressure-color.svg +1 -0
  42. package/dist/collection/components/icon/svg/tire-pressure-outline.svg +1 -0
  43. package/dist/esm/index-a99a5e7b.js +4 -0
  44. package/dist/esm/loader.js +1 -1
  45. package/dist/esm/road-alert.entry.js +1 -1
  46. package/dist/esm/road-badge_14.entry.js +1 -1
  47. package/dist/esm/road-button-floating.entry.js +62 -0
  48. package/dist/esm/roadtrip.js +1 -1
  49. package/dist/html.html-data.json +42 -0
  50. package/dist/icons/icons.svg +1 -1
  51. package/dist/icons/index.d.ts +14 -1
  52. package/dist/icons/index.js +79 -64
  53. package/dist/roadtrip/p-00762fb0.entry.js +1 -0
  54. package/dist/roadtrip/{p-8aa942e0.entry.js → p-604b9899.entry.js} +1 -1
  55. package/dist/roadtrip/p-b68c2056.entry.js +1 -0
  56. package/dist/roadtrip/roadtrip.esm.js +1 -1
  57. package/dist/roadtrip/svg/becommerce-color.svg +1 -0
  58. package/dist/roadtrip/svg/becommerce-outline.svg +1 -0
  59. package/dist/roadtrip/svg/discount-workshop-color.svg +1 -0
  60. package/dist/roadtrip/svg/discount-workshop-outline.svg +1 -0
  61. package/dist/roadtrip/svg/discount-workshop-solid.svg +1 -0
  62. package/dist/roadtrip/svg/flag-belgium-color.svg +1 -1
  63. package/dist/roadtrip/svg/garage-color.svg +1 -1
  64. package/dist/roadtrip/svg/garage-house-color.svg +1 -1
  65. package/dist/roadtrip/svg/garage-house-outline.svg +1 -1
  66. package/dist/roadtrip/svg/garage-outline.svg +1 -1
  67. package/dist/roadtrip/svg/keep-in-repair-outline.svg +1 -1
  68. package/dist/roadtrip/svg/location-pin-all-color.svg +1 -1
  69. package/dist/roadtrip/svg/location-pin-all-outline.svg +1 -1
  70. package/dist/roadtrip/svg/location-pin-all-solid.svg +1 -1
  71. package/dist/roadtrip/svg/location-pin-color.svg +1 -1
  72. package/dist/roadtrip/svg/location-pin-garage-auto5-color.svg +1 -0
  73. package/dist/roadtrip/svg/location-pin-garage-auto5-outline.svg +1 -0
  74. package/dist/roadtrip/svg/location-pin-garage-auto5-solid.svg +1 -1
  75. package/dist/roadtrip/svg/location-pin-garage-color.svg +1 -0
  76. package/dist/roadtrip/svg/location-pin-garage-norauto-color.svg +1 -0
  77. package/dist/roadtrip/svg/location-pin-garage-norauto-outline.svg +1 -0
  78. package/dist/roadtrip/svg/location-pin-garage-norauto-solid.svg +1 -1
  79. package/dist/roadtrip/svg/location-pin-garage-outline.svg +1 -0
  80. package/dist/roadtrip/svg/location-pin-garage-solid.svg +1 -1
  81. package/dist/roadtrip/svg/location-pin-number-outline.svg +1 -0
  82. package/dist/roadtrip/svg/location-pin-number-solid.svg +1 -1
  83. package/dist/roadtrip/svg/location-pin-outline.svg +1 -1
  84. package/dist/roadtrip/svg/location-pin-solid.svg +1 -1
  85. package/dist/roadtrip/svg/tire-pressure-color.svg +1 -0
  86. package/dist/roadtrip/svg/tire-pressure-outline.svg +1 -0
  87. package/dist/types/components/button-floating/button-floating.d.ts +48 -0
  88. package/dist/types/components.d.ts +57 -0
  89. package/icons/icons.svg +1 -1
  90. package/icons/index.d.ts +14 -1
  91. package/icons/index.js +79 -64
  92. package/package.json +1 -1
  93. package/dist/roadtrip/p-add52276.entry.js +0 -1
@@ -132,6 +132,24 @@ export namespace Components {
132
132
  */
133
133
  "target"?: string;
134
134
  }
135
+ interface RoadButtonFloating {
136
+ /**
137
+ * Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
138
+ */
139
+ "href"?: string;
140
+ /**
141
+ * position.
142
+ */
143
+ "position"?: 'left' | 'center' | 'right';
144
+ /**
145
+ * Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).
146
+ */
147
+ "rel"?: string;
148
+ /**
149
+ * Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
150
+ */
151
+ "target"?: string;
152
+ }
135
153
  interface RoadCard {
136
154
  /**
137
155
  * If `true`, a button tag will be rendered and the card will be tappable.
@@ -1518,6 +1536,10 @@ export interface RoadButtonCustomEvent<T> extends CustomEvent<T> {
1518
1536
  detail: T;
1519
1537
  target: HTMLRoadButtonElement;
1520
1538
  }
1539
+ export interface RoadButtonFloatingCustomEvent<T> extends CustomEvent<T> {
1540
+ detail: T;
1541
+ target: HTMLRoadButtonFloatingElement;
1542
+ }
1521
1543
  export interface RoadCardCustomEvent<T> extends CustomEvent<T> {
1522
1544
  detail: T;
1523
1545
  target: HTMLRoadCardElement;
@@ -1677,6 +1699,12 @@ declare global {
1677
1699
  prototype: HTMLRoadButtonElement;
1678
1700
  new (): HTMLRoadButtonElement;
1679
1701
  };
1702
+ interface HTMLRoadButtonFloatingElement extends Components.RoadButtonFloating, HTMLStencilElement {
1703
+ }
1704
+ var HTMLRoadButtonFloatingElement: {
1705
+ prototype: HTMLRoadButtonFloatingElement;
1706
+ new (): HTMLRoadButtonFloatingElement;
1707
+ };
1680
1708
  interface HTMLRoadCardElement extends Components.RoadCard, HTMLStencilElement {
1681
1709
  }
1682
1710
  var HTMLRoadCardElement: {
@@ -2039,6 +2067,7 @@ declare global {
2039
2067
  "road-badge": HTMLRoadBadgeElement;
2040
2068
  "road-banner": HTMLRoadBannerElement;
2041
2069
  "road-button": HTMLRoadButtonElement;
2070
+ "road-button-floating": HTMLRoadButtonFloatingElement;
2042
2071
  "road-card": HTMLRoadCardElement;
2043
2072
  "road-carousel": HTMLRoadCarouselElement;
2044
2073
  "road-carousel-item": HTMLRoadCarouselItemElement;
@@ -2241,6 +2270,32 @@ declare namespace LocalJSX {
2241
2270
  */
2242
2271
  "target"?: string;
2243
2272
  }
2273
+ interface RoadButtonFloating {
2274
+ /**
2275
+ * Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
2276
+ */
2277
+ "href"?: string;
2278
+ /**
2279
+ * Emitted when the button loses focus.
2280
+ */
2281
+ "onRoadblur"?: (event: RoadButtonFloatingCustomEvent<void>) => void;
2282
+ /**
2283
+ * Emitted when the button has focus.
2284
+ */
2285
+ "onRoadfocus"?: (event: RoadButtonFloatingCustomEvent<void>) => void;
2286
+ /**
2287
+ * position.
2288
+ */
2289
+ "position"?: 'left' | 'center' | 'right';
2290
+ /**
2291
+ * Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).
2292
+ */
2293
+ "rel"?: string;
2294
+ /**
2295
+ * Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
2296
+ */
2297
+ "target"?: string;
2298
+ }
2244
2299
  interface RoadCard {
2245
2300
  /**
2246
2301
  * If `true`, a button tag will be rendered and the card will be tappable.
@@ -3754,6 +3809,7 @@ declare namespace LocalJSX {
3754
3809
  "road-badge": RoadBadge;
3755
3810
  "road-banner": RoadBanner;
3756
3811
  "road-button": RoadButton;
3812
+ "road-button-floating": RoadButtonFloating;
3757
3813
  "road-card": RoadCard;
3758
3814
  "road-carousel": RoadCarousel;
3759
3815
  "road-carousel-item": RoadCarouselItem;
@@ -3826,6 +3882,7 @@ declare module "@stencil/core" {
3826
3882
  "road-badge": LocalJSX.RoadBadge & JSXBase.HTMLAttributes<HTMLRoadBadgeElement>;
3827
3883
  "road-banner": LocalJSX.RoadBanner & JSXBase.HTMLAttributes<HTMLRoadBannerElement>;
3828
3884
  "road-button": LocalJSX.RoadButton & JSXBase.HTMLAttributes<HTMLRoadButtonElement>;
3885
+ "road-button-floating": LocalJSX.RoadButtonFloating & JSXBase.HTMLAttributes<HTMLRoadButtonFloatingElement>;
3829
3886
  "road-card": LocalJSX.RoadCard & JSXBase.HTMLAttributes<HTMLRoadCardElement>;
3830
3887
  "road-carousel": LocalJSX.RoadCarousel & JSXBase.HTMLAttributes<HTMLRoadCarouselElement>;
3831
3888
  "road-carousel-item": LocalJSX.RoadCarouselItem & JSXBase.HTMLAttributes<HTMLRoadCarouselItemElement>;