@nualang/nualang-ui-components 0.1.1284 → 0.1.1285

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.
@@ -113,7 +113,7 @@ function BotSettings({
113
113
  })]
114
114
  })]
115
115
  })
116
- }), process.env.REACT_APP_STAGE === "dev" && /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Grid, {
116
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Grid, {
117
117
  size: 12,
118
118
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.FormControl, {
119
119
  component: "fieldset",
@@ -152,7 +152,7 @@ function Confirmation({
152
152
  gutterBottom: true,
153
153
  display: "block",
154
154
  children: t("challenge_bot_desc")
155
- }), process.env.REACT_APP_STAGE === "dev" && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.FormControl, {
155
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.FormControl, {
156
156
  component: "fieldset",
157
157
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.FormLabel, {
158
158
  component: "legend",
@@ -712,7 +712,7 @@ function BotListItem({
712
712
  children: isBotHiddenState ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_VisibilityOff.default, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Visibility.default, {})
713
713
  })
714
714
  })
715
- }), isCreator && isLargeScreen && process.env.REACT_APP_STAGE === "dev" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Tooltip, {
715
+ }), isCreator && isLargeScreen ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Tooltip, {
716
716
  title: isBotChallenge ? t("unmark_as_challenge_bot") : t("mark_as_challenge_bot"),
717
717
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.IconButton, {
718
718
  "data-cy": "mark_challenge_bot",
@@ -112,30 +112,7 @@ function ResponsiveTabs({
112
112
  label,
113
113
  disabled,
114
114
  id
115
- }) => id === "Discuss" && !localStorage.getItem("remove-discussion-new-tag") ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tab.default, {
116
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
117
- src: _NewText.default,
118
- style: {
119
- width: "45px",
120
- marginTop: "-20px",
121
- marginLeft: "-5px"
122
- },
123
- alt: "New Text"
124
- }),
125
- iconPosition: "end",
126
- id: id,
127
- label: label,
128
- disabled: disabled,
129
- onClick: () => {
130
- if (!disableHashParams) {
131
- window.history.replaceState(null, null, `#${id}`);
132
- }
133
- },
134
- sx: {
135
- paddingLeft: "45px"
136
- },
137
- "data-cy": `${id}-tab`
138
- }, `responsivetabs_${id}`) : id === "Assignments" && hasNewAssignments && !isCreator && !localStorage.getItem("remove-assignment-new-tag") ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tab.default, {
115
+ }) => id === "Assignments" && hasNewAssignments && !isCreator && !localStorage.getItem("remove-assignment-new-tag") ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tab.default, {
139
116
  icon: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
140
117
  src: _NewText.default,
141
118
  style: {
@@ -80,6 +80,7 @@ function SearchFilters({
80
80
  }),
81
81
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Grid, {
82
82
  container: true,
83
+ width: "100%",
83
84
  direction: "row",
84
85
  alignItems: "center",
85
86
  spacing: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nualang/nualang-ui-components",
3
- "version": "0.1.1284",
3
+ "version": "0.1.1285",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",
@@ -20,7 +20,7 @@
20
20
  "@hookform/resolvers": "^3.6.0",
21
21
  "@json2csv/plainjs": "^7.0.1",
22
22
  "@nualang/avatars": "2.0.3",
23
- "@nualang/nualang-api-and-queries": "^1.1.5",
23
+ "@nualang/nualang-api-and-queries": "^1.1.16",
24
24
  "@storybook/theming": "^8.6.12",
25
25
  "@stripe/react-stripe-js": "^2.1.1",
26
26
  "@stripe/stripe-js": "^1.54.2",