@sproutsocial/racine 25.9.2 → 25.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "25.9.2",
3
+ "version": "25.9.3",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -39,8 +39,6 @@
39
39
  "deploy:apps": "npm-run-all -s clean build:ts-declarations build-app",
40
40
  "format": "prettier --write .",
41
41
  "format:check": "prettier -c .",
42
- "lint": "eslint --max-warnings=0 --fix .",
43
- "lint:check": "eslint --max-warnings=0 --ext .ts,.tsx,.js .",
44
42
  "jest": "node node_modules/.bin/jest",
45
43
  "jest:watch": "jest --watch",
46
44
  "typecheck:ts": "tsc --noEmit",
@@ -58,59 +56,59 @@
58
56
  },
59
57
  "dependencies": {
60
58
  "@react-spring/web": "^9.0.0",
61
- "@sproutsocial/seeds-react-avatar": "^1.0.0",
62
- "@sproutsocial/seeds-react-badge": "^1.0.0",
63
- "@sproutsocial/seeds-react-banner": "^1.0.0",
64
- "@sproutsocial/seeds-react-box": "^1.1.1",
65
- "@sproutsocial/seeds-react-button": "^1.2.0",
66
- "@sproutsocial/seeds-react-card": "^1.1.0",
67
- "@sproutsocial/seeds-react-character-counter": "^1.0.0",
68
- "@sproutsocial/seeds-react-chart-legend": "^1.0.0",
69
- "@sproutsocial/seeds-react-checkbox": "^1.3.0",
70
- "@sproutsocial/seeds-react-collapsible": "^1.0.1",
71
- "@sproutsocial/seeds-react-datepicker": "^1.0.0",
72
- "@sproutsocial/seeds-react-drawer": "^1.0.0",
73
- "@sproutsocial/seeds-react-duration": "^1.0.0",
74
- "@sproutsocial/seeds-react-empty-state": "^1.0.0",
75
- "@sproutsocial/seeds-react-fieldset": "^1.0.0",
76
- "@sproutsocial/seeds-react-form-field": "^1.0.0",
77
- "@sproutsocial/seeds-react-hooks": "^3.0.1",
78
- "@sproutsocial/seeds-react-icon": "^1.1.1",
79
- "@sproutsocial/seeds-react-image": "^1.0.0",
80
- "@sproutsocial/seeds-react-indicator": "^1.0.0",
81
- "@sproutsocial/seeds-react-input": "^1.3.1",
82
- "@sproutsocial/seeds-react-keyboard-key": "^1.0.0",
83
- "@sproutsocial/seeds-react-label": "^1.0.0",
84
- "@sproutsocial/seeds-react-link": "^1.0.0",
85
- "@sproutsocial/seeds-react-loader": "^1.0.0",
86
- "@sproutsocial/seeds-react-loader-button": "^1.0.0",
87
- "@sproutsocial/seeds-react-message": "^1.0.0",
88
- "@sproutsocial/seeds-react-mixins": "^4.1.0",
89
- "@sproutsocial/seeds-react-modal": "^1.0.0",
90
- "@sproutsocial/seeds-react-numeral": "^1.0.0",
91
- "@sproutsocial/seeds-react-partner-logo": "^1.3.0",
92
- "@sproutsocial/seeds-react-popout": "^2.1.0",
93
- "@sproutsocial/seeds-react-portal": "^1.1.0",
94
- "@sproutsocial/seeds-react-radio": "^1.2.0",
95
- "@sproutsocial/seeds-react-segmented-control": "^1.0.0",
96
- "@sproutsocial/seeds-react-spot-illustration": "^1.0.0",
97
- "@sproutsocial/seeds-react-select": "^1.1.0",
98
- "@sproutsocial/seeds-react-skeleton": "^1.1.0",
99
- "@sproutsocial/seeds-react-stack": "^1.0.0",
100
- "@sproutsocial/seeds-react-switch": "^1.2.0",
101
- "@sproutsocial/seeds-react-system-props": "^3.0.1",
102
- "@sproutsocial/seeds-react-table": "^1.0.0",
103
- "@sproutsocial/seeds-react-tabs": "^1.1.0",
104
- "@sproutsocial/seeds-react-text": "^1.3.0",
105
- "@sproutsocial/seeds-react-textarea": "^1.0.0",
106
- "@sproutsocial/seeds-react-toast": "^1.0.0",
107
- "@sproutsocial/seeds-react-token": "^1.0.2",
108
- "@sproutsocial/seeds-react-token-input": "^1.0.0",
109
- "@sproutsocial/seeds-react-tooltip": "^1.0.0",
110
- "@sproutsocial/seeds-react-theme": "^2.2.0",
111
- "@sproutsocial/seeds-react-theme-provider": "^1.1.1",
112
- "@sproutsocial/seeds-react-utilities": "^4.0.1",
113
- "@sproutsocial/seeds-react-visually-hidden": "^1.0.1",
59
+ "@sproutsocial/seeds-react-avatar": "^1.0.1",
60
+ "@sproutsocial/seeds-react-badge": "^1.0.1",
61
+ "@sproutsocial/seeds-react-banner": "^1.0.1",
62
+ "@sproutsocial/seeds-react-box": "^1.1.2",
63
+ "@sproutsocial/seeds-react-button": "^1.2.1",
64
+ "@sproutsocial/seeds-react-card": "^1.1.1",
65
+ "@sproutsocial/seeds-react-character-counter": "^1.0.1",
66
+ "@sproutsocial/seeds-react-chart-legend": "^1.0.1",
67
+ "@sproutsocial/seeds-react-checkbox": "^1.3.1",
68
+ "@sproutsocial/seeds-react-collapsible": "^1.0.2",
69
+ "@sproutsocial/seeds-react-datepicker": "^1.0.1",
70
+ "@sproutsocial/seeds-react-drawer": "^1.0.1",
71
+ "@sproutsocial/seeds-react-duration": "^1.0.1",
72
+ "@sproutsocial/seeds-react-empty-state": "^1.0.1",
73
+ "@sproutsocial/seeds-react-fieldset": "^1.0.1",
74
+ "@sproutsocial/seeds-react-form-field": "^1.0.1",
75
+ "@sproutsocial/seeds-react-hooks": "^3.0.2",
76
+ "@sproutsocial/seeds-react-icon": "^1.1.2",
77
+ "@sproutsocial/seeds-react-image": "^1.0.1",
78
+ "@sproutsocial/seeds-react-indicator": "^1.0.1",
79
+ "@sproutsocial/seeds-react-input": "^1.4.2",
80
+ "@sproutsocial/seeds-react-keyboard-key": "^1.0.1",
81
+ "@sproutsocial/seeds-react-label": "^1.0.1",
82
+ "@sproutsocial/seeds-react-link": "^1.0.1",
83
+ "@sproutsocial/seeds-react-loader": "^1.0.1",
84
+ "@sproutsocial/seeds-react-loader-button": "^1.0.1",
85
+ "@sproutsocial/seeds-react-message": "^1.0.1",
86
+ "@sproutsocial/seeds-react-mixins": "^4.1.1",
87
+ "@sproutsocial/seeds-react-modal": "^1.0.1",
88
+ "@sproutsocial/seeds-react-numeral": "^1.0.1",
89
+ "@sproutsocial/seeds-react-partner-logo": "^1.3.1",
90
+ "@sproutsocial/seeds-react-popout": "^2.1.1",
91
+ "@sproutsocial/seeds-react-portal": "^1.1.3",
92
+ "@sproutsocial/seeds-react-radio": "^1.3.0",
93
+ "@sproutsocial/seeds-react-segmented-control": "^1.0.1",
94
+ "@sproutsocial/seeds-react-spot-illustration": "^1.0.1",
95
+ "@sproutsocial/seeds-react-select": "^1.1.1",
96
+ "@sproutsocial/seeds-react-skeleton": "^1.1.1",
97
+ "@sproutsocial/seeds-react-stack": "^1.0.1",
98
+ "@sproutsocial/seeds-react-switch": "^1.2.1",
99
+ "@sproutsocial/seeds-react-system-props": "^3.0.2",
100
+ "@sproutsocial/seeds-react-table": "^1.0.1",
101
+ "@sproutsocial/seeds-react-tabs": "^1.1.1",
102
+ "@sproutsocial/seeds-react-text": "^1.3.1",
103
+ "@sproutsocial/seeds-react-textarea": "^1.0.1",
104
+ "@sproutsocial/seeds-react-toast": "^1.0.1",
105
+ "@sproutsocial/seeds-react-token": "^1.2.0",
106
+ "@sproutsocial/seeds-react-token-input": "^1.4.0",
107
+ "@sproutsocial/seeds-react-tooltip": "^1.0.1",
108
+ "@sproutsocial/seeds-react-theme": "^2.3.0",
109
+ "@sproutsocial/seeds-react-theme-provider": "^1.1.2",
110
+ "@sproutsocial/seeds-react-utilities": "^4.2.0",
111
+ "@sproutsocial/seeds-react-visually-hidden": "^1.0.2",
114
112
  "@styled-system/theme-get": "^5.1.2",
115
113
  "classnames": "^2.2.6",
116
114
  "default-browser-id": "^3.0.0",
@@ -146,10 +144,10 @@
146
144
  "@sproutsocial/seeds-motion": "^1.8.0",
147
145
  "@sproutsocial/seeds-networkcolor": "^2.20.0",
148
146
  "@sproutsocial/seeds-partner-logos": "^1.12.0",
149
- "@sproutsocial/seeds-react-checkbox": "^1.3.0",
150
- "@sproutsocial/seeds-react-menu": "^0.5.0",
147
+ "@sproutsocial/seeds-react-checkbox": "^1.3.1",
148
+ "@sproutsocial/seeds-react-menu": "^1.0.0",
151
149
  "@sproutsocial/seeds-react-testing-library": "*",
152
- "@sproutsocial/seeds-react-theme": "^2.2.0",
150
+ "@sproutsocial/seeds-react-theme": "^2.3.0",
153
151
  "@sproutsocial/seeds-space": "^0.8.0",
154
152
  "@sproutsocial/seeds-tsconfig": "*",
155
153
  "@sproutsocial/seeds-typography": "^3.7.0",
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StorybookMenuToggleButton = void 0;
7
- var _seedsReactMenu = require("@sproutsocial/seeds-react-menu");
8
- var _seedsReactBox = require("@sproutsocial/seeds-react-box");
9
- var _seedsReactIcon = require("@sproutsocial/seeds-react-icon");
10
- var _styledComponents = _interopRequireDefault(require("styled-components"));
11
- var _jsxRuntime = require("react/jsx-runtime");
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- var StyledChevron = _styledComponents.default.div.withConfig({
14
- displayName: "menu-storybook-components__StyledChevron",
15
- componentId: "sc-1qxavqh-0"
16
- })(["margin-left:", ";", " transition:transform 0.15s;"], function (_ref) {
17
- var theme = _ref.theme;
18
- return theme.space[300];
19
- }, function (_ref2) {
20
- var $isOpen = _ref2.$isOpen;
21
- return $isOpen && "\n\t\ttransform: rotate(-180deg);\n\t";
22
- });
23
- var StorybookMenuToggleButton = exports.StorybookMenuToggleButton = function StorybookMenuToggleButton(_ref3) {
24
- var buttonText = _ref3.buttonText;
25
- var _useMenuContext = (0, _seedsReactMenu.useMenuContext)(),
26
- isOpen = _useMenuContext.isOpen;
27
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_seedsReactMenu.MenuToggleButton, {
28
- appearance: "secondary",
29
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_seedsReactBox.Box, {
30
- display: "flex",
31
- justifyContent: "space-between",
32
- children: [buttonText ? buttonText : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
33
- children: "Select book"
34
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledChevron, {
35
- $isOpen: isOpen,
36
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_seedsReactIcon.Icon, {
37
- name: "chevron-down"
38
- })
39
- })]
40
- })
41
- });
42
- };
@@ -1,9 +0,0 @@
1
- interface TypeBook {
2
- id: string;
3
- author: string;
4
- title: string;
5
- }
6
- export declare const TEST_BOOKS: TypeBook[];
7
- export declare const EXTRA_BOOKS: TypeBook[];
8
- export {};
9
- //# sourceMappingURL=menu-test-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu-test-data.d.ts","sourceRoot":"","sources":["../../../../../src/MenuNew/__tests__/fixtures/menu-test-data.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,EAmBhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,EAQjC,CAAC"}
@@ -1,9 +0,0 @@
1
- export interface TypeStyledChevronProps {
2
- $isOpen?: boolean;
3
- }
4
- interface StorybookMenuToggleButtonProps {
5
- buttonText?: string;
6
- }
7
- export declare const StorybookMenuToggleButton: ({ buttonText, }: StorybookMenuToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=menu-storybook-components.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu-storybook-components.d.ts","sourceRoot":"","sources":["../../../../src/MenuNew/storybookUtilities/menu-storybook-components.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAYD,UAAU,8BAA8B;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,yBAAyB,oBAEnC,8BAA8B,4CAahC,CAAC"}
@@ -1,36 +0,0 @@
1
- import { useMenuContext, MenuToggleButton } from "@sproutsocial/seeds-react-menu";
2
- import { Box } from "@sproutsocial/seeds-react-box";
3
- import { Icon } from "@sproutsocial/seeds-react-icon";
4
- import styled from "styled-components";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
- var StyledChevron = styled.div.withConfig({
8
- displayName: "menu-storybook-components__StyledChevron",
9
- componentId: "sc-1qxavqh-0"
10
- })(["margin-left:", ";", " transition:transform 0.15s;"], function (_ref) {
11
- var theme = _ref.theme;
12
- return theme.space[300];
13
- }, function (_ref2) {
14
- var $isOpen = _ref2.$isOpen;
15
- return $isOpen && "\n\t\ttransform: rotate(-180deg);\n\t";
16
- });
17
- export var StorybookMenuToggleButton = function StorybookMenuToggleButton(_ref3) {
18
- var buttonText = _ref3.buttonText;
19
- var _useMenuContext = useMenuContext(),
20
- isOpen = _useMenuContext.isOpen;
21
- return /*#__PURE__*/_jsx(MenuToggleButton, {
22
- appearance: "secondary",
23
- children: /*#__PURE__*/_jsxs(Box, {
24
- display: "flex",
25
- justifyContent: "space-between",
26
- children: [buttonText ? buttonText : /*#__PURE__*/_jsx("span", {
27
- children: "Select book"
28
- }), /*#__PURE__*/_jsx(StyledChevron, {
29
- $isOpen: isOpen,
30
- children: /*#__PURE__*/_jsx(Icon, {
31
- name: "chevron-down"
32
- })
33
- })]
34
- })
35
- });
36
- };