@elice/material-quiz 1.250221.0-dnd.0 → 1.250221.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.
@@ -6,7 +6,6 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
8
  var core = require('@dnd-kit/core');
9
- var modifiers = require('@dnd-kit/modifiers');
10
9
  var apiClient = require('@elice/api-client');
11
10
  var blocks = require('@elice/blocks');
12
11
  var designTokens = require('@elice/design-tokens');
@@ -575,9 +574,7 @@ var MaterialQuizSelectMultipleOrder = function MaterialQuizSelectMultipleOrder(_
575
574
  }
576
575
  }],
577
576
  children: jsxRuntime.jsxs(material.Stack, {
578
- sx: {
579
- flex: 1
580
- },
577
+ height: "100%",
581
578
  gap: "1rem",
582
579
  children: [hasInlinePassage && jsxRuntime.jsx("div", {
583
580
  id: element.MATERIAL_QUIZ_PASSIVE_ID,
@@ -588,7 +585,6 @@ var MaterialQuizSelectMultipleOrder = function MaterialQuizSelectMultipleOrder(_
588
585
  }), jsxRuntime.jsx(core.DndContext, {
589
586
  sensors: sensors,
590
587
  onDragEnd: handleDragEnd,
591
- modifiers: [modifiers.restrictToFirstScrollableAncestor],
592
588
  children: jsxRuntime.jsxs("div", {
593
589
  id: element.MATERIAL_QUIZ_ANSWER_ID,
594
590
  children: [jsxRuntime.jsxs(StyledOptionBox, {
@@ -2,7 +2,6 @@ import { slicedToArray as _slicedToArray, toConsumableArray as _toConsumableArra
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import { useSensors, useSensor, MouseSensor, TouchSensor, DndContext } from '@dnd-kit/core';
5
- import { restrictToFirstScrollableAncestor } from '@dnd-kit/modifiers';
6
5
  import { getOrgMaterialQuizResponseGet, getOrgMaterialQuizResponseList, postOrgMaterialQuizResponseAdd } from '@elice/api-client';
7
6
  import { Icon, Flex, Text } from '@elice/blocks';
8
7
  import { base } from '@elice/design-tokens';
@@ -566,9 +565,7 @@ var MaterialQuizSelectMultipleOrder = function MaterialQuizSelectMultipleOrder(_
566
565
  }
567
566
  }],
568
567
  children: jsxs(Stack, {
569
- sx: {
570
- flex: 1
571
- },
568
+ height: "100%",
572
569
  gap: "1rem",
573
570
  children: [hasInlinePassage && jsx("div", {
574
571
  id: MATERIAL_QUIZ_PASSIVE_ID,
@@ -579,7 +576,6 @@ var MaterialQuizSelectMultipleOrder = function MaterialQuizSelectMultipleOrder(_
579
576
  }), jsx(DndContext, {
580
577
  sensors: sensors,
581
578
  onDragEnd: handleDragEnd,
582
- modifiers: [restrictToFirstScrollableAncestor],
583
579
  children: jsxs("div", {
584
580
  id: MATERIAL_QUIZ_ANSWER_ID,
585
581
  children: [jsxs(StyledOptionBox, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-quiz",
3
- "version": "1.250221.0-dnd.0",
3
+ "version": "1.250221.0",
4
4
  "description": "User view and editing components of Elice material quiz",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -24,7 +24,6 @@
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@dnd-kit/core": "^6.1.0",
27
- "@dnd-kit/modifiers": "^9.0.0",
28
27
  "@elice/api-client": "^1",
29
28
  "@elice/blocks": "^1",
30
29
  "@elice/design-tokens": "^1",
@@ -67,7 +66,6 @@
67
66
  },
68
67
  "devDependencies": {
69
68
  "@dnd-kit/core": "^6.1.0",
70
- "@dnd-kit/modifiers": "^9.0.0",
71
69
  "@elice/api-client": "^1.241220.0",
72
70
  "@elice/blocks": "1.241007.0",
73
71
  "@elice/design-tokens": "^1.220803.0",