@orangesk/orange-design-system 2.0.0-beta.2 → 2.0.0-beta.3

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 (90) hide show
  1. package/build/components/Accordion/tsconfig.tsbuildinfo +1 -1
  2. package/build/components/Alert/tsconfig.tsbuildinfo +1 -1
  3. package/build/components/AnchorNavigation/tsconfig.tsbuildinfo +1 -1
  4. package/build/components/Bar/tsconfig.tsbuildinfo +1 -1
  5. package/build/components/BlockAction/tsconfig.tsbuildinfo +1 -1
  6. package/build/components/BodyBanner/tsconfig.tsbuildinfo +1 -1
  7. package/build/components/Breadcrumbs/tsconfig.tsbuildinfo +1 -1
  8. package/build/components/Button/tsconfig.tsbuildinfo +1 -1
  9. package/build/components/Buttons/tsconfig.tsbuildinfo +1 -1
  10. package/build/components/Card/tsconfig.tsbuildinfo +1 -1
  11. package/build/components/Carousel/tsconfig.tsbuildinfo +1 -1
  12. package/build/components/CarouselPromotions/tsconfig.tsbuildinfo +1 -1
  13. package/build/components/CartTable/tsconfig.tsbuildinfo +1 -1
  14. package/build/components/Code/tsconfig.tsbuildinfo +1 -1
  15. package/build/components/Container/tsconfig.tsbuildinfo +1 -1
  16. package/build/components/Controls/tsconfig.tsbuildinfo +1 -1
  17. package/build/components/Cover/tsconfig.tsbuildinfo +1 -1
  18. package/build/components/Divider/tsconfig.tsbuildinfo +1 -1
  19. package/build/components/DocumentationSidebar/index.js +1 -1
  20. package/build/components/DocumentationSidebar/tsconfig.tsbuildinfo +1 -1
  21. package/build/components/Dropdown/tsconfig.tsbuildinfo +1 -1
  22. package/build/components/Expander/tsconfig.tsbuildinfo +1 -1
  23. package/build/components/FeatureAccordion/tsconfig.tsbuildinfo +1 -1
  24. package/build/components/Footer/index.js +3 -3
  25. package/build/components/Footer/index.js.map +1 -1
  26. package/build/components/Footer/tsconfig.tsbuildinfo +1 -1
  27. package/build/components/Forms/tsconfig.tsbuildinfo +1 -1
  28. package/build/components/Gauge/tsconfig.tsbuildinfo +1 -1
  29. package/build/components/Grid/tsconfig.tsbuildinfo +1 -1
  30. package/build/components/Hero/tsconfig.tsbuildinfo +1 -1
  31. package/build/components/Icon/tsconfig.tsbuildinfo +1 -1
  32. package/build/components/IconList/tsconfig.tsbuildinfo +1 -1
  33. package/build/components/Image/tsconfig.tsbuildinfo +1 -1
  34. package/build/components/Link/tsconfig.tsbuildinfo +1 -1
  35. package/build/components/List/tsconfig.tsbuildinfo +1 -1
  36. package/build/components/Loader/tsconfig.tsbuildinfo +1 -1
  37. package/build/components/Megamenu/tsconfig.tsbuildinfo +1 -1
  38. package/build/components/Modal/tsconfig.tsbuildinfo +1 -1
  39. package/build/components/Pagination/tsconfig.tsbuildinfo +1 -1
  40. package/build/components/Pill/tsconfig.tsbuildinfo +1 -1
  41. package/build/components/Preview/index.js +1 -1
  42. package/build/components/Preview/index.js.map +1 -1
  43. package/build/components/Preview/tsconfig.tsbuildinfo +1 -1
  44. package/build/components/Progress/tsconfig.tsbuildinfo +1 -1
  45. package/build/components/PromoBanner/tsconfig.tsbuildinfo +1 -1
  46. package/build/components/PromotionCard/tsconfig.tsbuildinfo +1 -1
  47. package/build/components/Section/tsconfig.tsbuildinfo +1 -1
  48. package/build/components/Skeleton/tsconfig.tsbuildinfo +1 -1
  49. package/build/components/SkipLink/tsconfig.tsbuildinfo +1 -1
  50. package/build/components/Stepbar/tsconfig.tsbuildinfo +1 -1
  51. package/build/components/Sticker/tsconfig.tsbuildinfo +1 -1
  52. package/build/components/Table/tsconfig.tsbuildinfo +1 -1
  53. package/build/components/Tabs/tsconfig.tsbuildinfo +1 -1
  54. package/build/components/Tag/tsconfig.tsbuildinfo +1 -1
  55. package/build/components/Testimonial/tsconfig.tsbuildinfo +1 -1
  56. package/build/components/Tile/tsconfig.tsbuildinfo +1 -1
  57. package/build/components/Tooltip/tsconfig.tsbuildinfo +1 -1
  58. package/build/components/index.css +1 -1
  59. package/build/components/index.css.map +1 -1
  60. package/build/components/index.js +6 -6
  61. package/build/components/index.js.map +1 -1
  62. package/build/components/tsconfig.tsbuildinfo +1 -1
  63. package/build/components/types/src/components/Footer/Footer.d.ts +1 -5
  64. package/build/components/types/src/components/Footer/constants.d.ts +9 -0
  65. package/build/components/types/src/components/index.d.ts +1 -2
  66. package/build/lib/after-components.css +1 -1
  67. package/build/lib/after-components.css.map +1 -1
  68. package/build/lib/before-components.css +1 -1
  69. package/build/lib/before-components.css.map +1 -1
  70. package/build/lib/components.css +1 -1
  71. package/build/lib/components.css.map +1 -1
  72. package/build/lib/footer.css +2 -0
  73. package/build/lib/footer.css.map +1 -0
  74. package/build/lib/style.css +1 -1
  75. package/build/lib/style.css.map +1 -1
  76. package/package.json +4 -2
  77. package/src/components/Footer/Footer.tsx +86 -70
  78. package/src/components/Footer/constants.ts +10 -0
  79. package/src/components/Footer/styles/config.scss +1 -0
  80. package/src/components/Footer/styles/mixins.scss +172 -0
  81. package/src/components/Footer/styles/style.scss +48 -0
  82. package/src/components/Footer/tests/Footer.conformance.test.js +133 -8
  83. package/src/components/Footer/tests/Footer.unit.test.js +71 -6
  84. package/src/components/Link/styles/style.scss +1 -0
  85. package/src/components/Preview/PreviewGenerator.tsx +2 -10
  86. package/src/components/index.ts +0 -2
  87. package/src/styles/shame.scss +1 -0
  88. package/src/styles/typography/mixins.scss +2 -0
  89. package/build/components/Footer/style.css +0 -2
  90. package/build/components/Footer/style.css.map +0 -1
@@ -136,16 +136,8 @@ const PreviewGenerator: FunctionComponent<PreviewProps> = ({
136
136
  White: "bg-white",
137
137
  Gray: "bg-gray",
138
138
  Black: "bg-black",
139
- Orange: "bg-orange",
140
- "Orange Dark": "bg-orange-dark",
141
- Blue: "bg-blue",
142
- Green: "bg-green",
143
- Pink: "bg-pink",
144
- Violet: "bg-violet",
145
- Yellow: "bg-yellow",
146
- "Yellow Lighter": "bg-yellow-lighter",
147
- Red: "bg-red",
148
- None: "bg-none",
139
+ "Accent1 Blog": "bg-accent1-blog",
140
+ "Accent2 Blog": "bg-accent2-blog",
149
141
  },
150
142
  bgThemeExcludedColors = [],
151
143
  children,
@@ -33,7 +33,6 @@ import {
33
33
  } from "./Dropdown";
34
34
  import { Expander } from "./Expander/Expander";
35
35
  import { FeatureAccordion, FeatureAccordionItem } from "./FeatureAccordion";
36
- import { Footer } from "./Footer";
37
36
  import { Card, CardSection, CardProductHeader } from "./Card";
38
37
  import { Icon, Pictogram } from "./Icon";
39
38
  import { Gauge } from "./Gauge";
@@ -132,7 +131,6 @@ export {
132
131
  Field,
133
132
  Fieldset,
134
133
  File,
135
- Footer,
136
134
  Gauge,
137
135
  Grid,
138
136
  GridCol,
@@ -4,6 +4,7 @@
4
4
  * This reset is required due to default list spacing in ods 1 and will be removed once megamenu and footer components are migrated to 1.
5
5
  **/
6
6
  .osk-footer-menu,
7
+ .mm-header ul,
7
8
  .megamenu-header ul {
8
9
  max-width: none;
9
10
  margin-top: 0;
@@ -120,6 +120,8 @@
120
120
  margin: 0 0 space.get() 0;
121
121
  padding-left: space.get("large");
122
122
  @include text-readable;
123
+ // Apply the same font styles as paragraphs
124
+ @include generate.responsive-css-map(config.$body-text);
123
125
  }
124
126
 
125
127
  @mixin list-spacing($space, $config: config.$list-spacing) {
@@ -1,2 +0,0 @@
1
- :export{orange:#f16e00;orange-dark:#f16e00;black:#000;white:#fff;blue:#4bb4e6;green:#50be87;pink:#ffb4e6;violet:#a885d8;yellow:#ffd200;gray-300:#eee;gray-400:#ddd;gray-500:#ddd;gray-600:#999;gray-700:#666;gray-800:#595959;gray-900:#333;success:rgba(34,135,34,.078);danger:rgba(205,60,20,.078);info:rgba(65,112,216,.078);warning:rgba(255,204,0,.078)}
2
- /*# sourceMappingURL=style.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["color.scss"],"names":[],"mappings":"AAAA,QACE,cAAe,CACf,mBAAoB,CACpB,UAAc,CACd,UAAc,CACd,YAAa,CACb,aAAc,CACd,YAAa,CACb,cAAe,CACf,cAAe,CACf,aAAiB,CACjB,aAAc,CACd,aAAiB,CACjB,aAAc,CACd,aAAc,CACd,gBAAiB,CACjB,aAAc,CACd,4BAAwC,CACxC,2BAAuC,CACvC,0BAAsC,CACtC,4BACF","file":"style.css","sourcesContent":[":export {\n orange: #f16e00;\n orange-dark: #f16e00;\n black: #000000;\n white: #ffffff;\n blue: #4bb4e6;\n green: #50be87;\n pink: #ffb4e6;\n violet: #a885d8;\n yellow: #ffd200;\n gray-300: #eeeeee;\n gray-400: #ddd;\n gray-500: #dddddd;\n gray-600: #999;\n gray-700: #666;\n gray-800: #595959;\n gray-900: #333;\n success: rgba(34, 135, 34, 0.0784313725);\n danger: rgba(205, 60, 20, 0.0784313725);\n info: rgba(65, 112, 216, 0.0784313725);\n warning: rgba(255, 204, 0, 0.0784313725);\n}"]}